This is a migrated thread and some comments may be shown as answers.

select all in parameter report

1 Answer 405 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
CESAR CARVALHO
Top achievements
Rank 1
CESAR CARVALHO asked on 04 Jan 2018, 10:08 PM
Hello, I need an example of how to do a "select all" in the filter parameter of the report. Can you help me?

1 Answer, 1 is accepted

Sort by
0
Silviya
Telerik team
answered on 09 Jan 2018, 01:56 PM
Hi Cesar,

As we discussed in support ticket #1147276 the solution for the issue would be as following:

"To set all values as the default value of multivalue parameter, you can use built-in aggregate functions. The first one is AllValues(Expression, IncludeNullValues)) which returns an array of all values and the second is AllDistinctValues(Expression, IncludeNullValues)) which returns all distinct values from the specified expression.

For more detailed description of the functions, please refer to Aggregate Functions help article."


Regards,
Silviya
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
CESAR CARVALHO
Top achievements
Rank 1
Answers by
Silviya
Telerik team
Share this question
or