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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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