Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
79 | |
54 | |
39 | |
35 |
User | Count |
---|---|
102 | |
82 | |
48 | |
48 | |
48 |