Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Filter with All

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

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I worked this out another way, using CONCATENATEX, with a distinct to just add all distinct values

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I worked this out another way, using CONCATENATEX, with a distinct to just add all distinct values

Anonymous
Not applicable

The value would be put into an SSRS report (paginated) parameter, so it would be querying a Power BI dataset

edhans
Super User
Super User

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.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.