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

Change Filter run time

1 Answer 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ricky
Top achievements
Rank 1
Ricky asked on 15 Jan 2013, 08:31 AM
Is there a way I can change the filter in run time based on a report parameter?

Ex. The user can choose, via A, or via B
If A is selected, the filter should filter the data via column A in the database,
If B is selected, the filter should filter the data via column B in the database.

Thank you. 

1 Answer, 1 is accepted

Sort by
0
Hadib Ahmabi
Top achievements
Rank 1
answered on 17 Jan 2013, 01:04 PM
Try with the Fields() function. 
http://www.telerik.com/help/reporting/expressions-report-functions.html
It allows you to dynamically select fields. You can check this thread
http://www.telerik.com/community/forums/reporting/telerik-reporting/how-to-allow-dynamic-grouping-selections-paramters-in-a-report.aspx
it discusses grouping but it is similar.
Tags
General Discussions
Asked by
Ricky
Top achievements
Rank 1
Answers by
Hadib Ahmabi
Top achievements
Rank 1
Share this question
or