I am trying to build a report with an AOT query. I want my query's ranges to default to SysQueryRangeUtil::valueUnlimited() if the user did not enter a value. I tried a few things and googled a lot. I found this page https://dataqueen.unlimitedviz.com/2011/06/how-to-default-to-all-in-an-ssrs-multi-select-parameter/ but it seems like a lot of work :(
For clarity: The query's ranges are shown in the report dialog. And then if they are left open I get zero results in my report. I assumed this is because the query still filters on the empty ranges - I get results if I specify applicable ranges.
I've done a few reports following the DP, Contract and Controller path. But I am trying to do this one with only an AOT query (and View). I reasoned if I can do it this way it might speed up work in future.
Is there a way to default to an unlimited query range if the value is not filled in?
Thanks for reading