March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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 !
Solved! Go to Solution.
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.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
115 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
167 | |
117 | |
63 | |
57 | |
50 |