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
I have a attached a picture of my table below. My rolled up heirchy is category and if you drill down you see the customers within that category. LOS is the length of stay. What I am trying to do is get the MAX LOS when I drill down to the customers. (this is because the customer may show up 20 times and their LOS will be the same for all 20 rows - so I just need their LOS once). For LOS dept test, for the category that I expanded, you can see that 6 customers with 1 day each, now when I collapse this category to hide the customers, I need to see 6, not 1.11. I believe the overal total of "Los test" is right, but I can't confirm since the totals of the categories is wrong.
My code for LOS for dept test is
How can I make the categories sum the maxes as well?
Hi @Reagorn ,
According to your statement, I think your requirement is to show dynamic subtotal when you expand/collapse your hierarchy level in your matrix. As far as I know, this is not supported in Power BI. We could show result with different calculation logic in each hierarchy level by ISINSCOPE().
Best Regards,
Rico Zhou
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!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
90 | |
90 | |
66 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
70 | |
68 |