May 19, 2012  
   Login  
Forum  
 
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Error if select too many values using Multi Value parameterError if select too many values using Multi Value parameter
Previous Previous
 
Next Next
New Post
 11/18/2010 5:53 AM
 
Hi,

We are using the multi value parameter together with Operator to perform filtering while querying the SharePoint Lists. We encountered SoapServerException when we select too many values, around 400. But if we reduce a few selections, the report can be generated.

My question is, is this a bug or limitation of the product that cannot have too many values selected for a multi value selection parameter? If so, what is the solution/workaround. Please advice.

Thank you in advance.
New Post
 11/19/2010 1:47 PM
 

Hi,

Which version are you using? A few modifications had been implemented starting from version 3.4 to better handle large number of parameters using Pseudo Caml In operator.

An alternative approach is to use an additional SqlQuery statement (tough it has some upper limit too):

That said, it's not always a good idea to use multi-value parameters with a large set of values especially since the "Select All" option will just put all the values in the parameter without any indications that "Select All" was choosen (this is definitively an improvement that is investigated by Microsoft). Therefore, whatever the datasource (and data extension), the selected values will have to convert into some query that will contains all the values [ie: WHERE myField In (value1, value2, ..., value1000)].

If you have the opportunity to break down into multiple categories and sub-categories that would obviously help.

Can you provide us with additional information :

  • Your query
  • How many values do you have for your multi-value parameters?
  • What's the most common scenario when a user run this report: select one value? a few values? Select All values?
  • Is there any possibility to use cascading dependant parameters to break down this long list into 2 parameters (master-slave)?

Let me know?


Frederic LATOUR
ENESYS
New Post
 11/20/2010 2:23 AM
 
We are using version 3.1

We have also thought about using IN in sqlQuery rather than in CAML but the problem is we have to extract the large set of value from CAML first then only we can filter in sqlQuery which takes longer time. This would be the last resort if we do not have any other way of doing this. Any idea if we still have other workaround?

And to answer your questions.

My query as below

















Approved



@ISOTimesheetStartDate!




@ISOTimesheetEndDate!




@EmployeeID!




@CostCentre!




@Department!




@ISOSubmissionStartDate!




@ISOSubmissionEndDate!




@ApprovalStatus!















@ProjectCode!



@WBSCode!




@ISOTimesheetStartDate!




@ISOTimesheetEndDate!










Select Department, CostCentre,Timesheet.EmployeeID as EmployeeID, EmployeeName, ActivityType,ProjectCode, ProjectDesc, WBSCode, WBSDesc, Rate, Period, TimesheetDetails.Date as Date,
NoOfHours, Overtime, ApprovalStatus, SubmissionDate,
Round(NoOfDay+NoOfOTDay,2) as TotalDay,
Round(NoOfDay+NoOfOTDay,2)*Rate as TotalCharge
from Timesheet
INNER JOIN TimesheetDetails ON Timesheet.Title = TimesheetDetails.Title
WHERE (NoOfHours != 0 OR Overtime != 0)

WeeklyTimesheet


How many values do you have for your multi-value parameters?
** up to 400

What's the most common scenario when a user run this report: select one value? a few values? Select All values?
** few values and all values, there are different group of users for this report, some users from department A always select all, but others only selevt a few

Is there any possibility to use cascading dependant parameters to break down this long list into 2 parameters (master-slave)?
** Is not a master slave relationship, so cannot be broken down.
New Post
 11/22/2010 7:31 PM
 

Hi,

I have tried with version 3.4 and could query a multi-value parameter that contains more than 1000 values.

Could you give version 3.4 a try?

Regards,


Frederic LATOUR
ENESYS
Previous Previous
 
Next Next
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Error if select too many values using Multi Value parameterError if select too many values using Multi Value parameter

 
You need to login for posting to the forums.
If you don't have a login, click here to register.
 
Copyright 2010 Enesys - All rights reserved Terms Of UsePrivacy Statement