Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Parameter Dynamic Dataset Filter - partially works...

$
0
0

I'm letting the user select what they want to filter on a report. Ex. only show orders where there are "missing components" or only orders that have "400 lbs or more" and then I need "Show All". NOTE: I'm slightly hamstrung, the database is DB2 on an AS/400.

ISSUES / QUESTIONS: I can't get "Show All" to work. Is there an easier way... can I control all the fields in one formula instead of splitting? My 2nd line in examples below doesn't work due to text being explicitly picked.

I've set up a Parameter for "FilterOn" with these options:

I then go to filters in the dataset:

there seem to be 50 ways to approach this... i'd love one simple formula - but it seems I have to split it in two (someone please correct me on this!).

So here's the expression.. the first line works... (because text). The 2nd line doesn't - because the filter is looking...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>