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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
fabianfilth
Regular Visitor

Measure as a filter

Hello pbi community

 

I hope you can help me with this question.

 

Is there any possibility to take a dax measure into a visual filter? or how can I achieve this?

 

Thanks in advance

1 REPLY 1
DallasBaba
Super User
Super User

@fabianfilth you cannot directly use a DAX measure in a visual filter.
But you can achieve a similar result by creating a calculated column replicating the DAX measure's logic and then using that column as a visual filter.

 

By creating a calculated column, you effectively store the DAX measure's results in a new column in your data model, which can then be used as a filter in visuals.

 

Note:
Calculated columns use storage space and are pre-calculated during data refresh, so you should be cautious when using them, especially with large datasets.

 

Reference for more info:
https://www.sqlbi.com/articles/deep-dive-into-measure-filters-in-power-bi-desktop/

https://community.fabric.microsoft.com/t5/Desktop/How-to-to-use-a-measure-as-a-filter-in-DAX/m-p/597...

 

Please let me know if this works

 

Thanks

Thanks
Dallas

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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