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
v-yohua-msft
Community Support
Community Support

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
v-yohua-msft
Community Support
Community Support

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.

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)