Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
In a matrix visual I have two fields in the Row header column creating nested rows.
For the values, I want to pick Measure1 when collapsed and Measure2 when expanded.
Solved! Go to Solution.
Hi @adityalele ,
You can check in a measure if the field of the second level is filtered and return the value of measure 1 or 2 depending on it.
https://docs.microsoft.com/de-de/dax/isfiltered-function-dax
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Hi @adityalele ,
You can check in a measure if the field of the second level is filtered and return the value of measure 1 or 2 depending on it.
https://docs.microsoft.com/de-de/dax/isfiltered-function-dax
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials