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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
Skilled Sharer
Skilled Sharer

@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
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.