Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi
I need to create a DAX query that will filter based on a column value, unless the user enters all, which will effectivly make the filter not filter at all
Solved! Go to Solution.
I worked this out another way, using CONCATENATEX, with a distinct to just add all distinct values
I worked this out another way, using CONCATENATEX, with a distinct to just add all distinct values
The value would be put into an SSRS report (paginated) parameter, so it would be querying a Power BI dataset
Where would the user enter "all" in a DAX query?
Or are you talking a slicer? If that, then your DAX just does the calc. The slicer will automatically filter based on any specific selection or no selection.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingUser | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
13 | |
7 | |
5 |