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
Bebs
Helper II
Helper II

Filtering matrix table on string DAX result

Hello,

In a matrix table, I've a DAX measures displaying string value (as a result of a calculation).

 

Is there a simple native way to give users possibility to filter theses string values ?

Thanks for your help !

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @Bebs 

 

There is no direct native way to filter the results of DAX measures in a matrix table because measures are computed at query time and do not exist as columns in the data model. However, an alternative method can be used.


Consider using a slicer, where you can create a slicer that connects to the same data used by the DAX measure. While you can't place slicers directly for a measure, you can create a slicer based on the underlying column for measure calculations. In this way, the user can indirectly filter the matrix table based on string values.

 

If you can replicate or simplify the logic for calculating a column's DAX measure, consider creating a calculating column that represents the string value to be filtered on. Users can then use this calculated column in the slicer or directly in the matrix to filter the data.

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi, @Bebs 

 

There is no direct native way to filter the results of DAX measures in a matrix table because measures are computed at query time and do not exist as columns in the data model. However, an alternative method can be used.


Consider using a slicer, where you can create a slicer that connects to the same data used by the DAX measure. While you can't place slicers directly for a measure, you can create a slicer based on the underlying column for measure calculations. In this way, the user can indirectly filter the matrix table based on string values.

 

If you can replicate or simplify the logic for calculating a column's DAX measure, consider creating a calculating column that represents the string value to be filtered on. Users can then use this calculated column in the slicer or directly in the matrix to filter the data.

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.