Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
Is there a way to hide the subtotal row completely, when there is only one row in values? See example below. Thanks
Nirmit
Solved! Go to Solution.
Hi @Anonymous ,
According to your statement, I know you want to keep subtotal in Component2 and hide subtotals in other Component. I think all subtotals in your screenshot are in same hierachy level(). You can turn off hierachy level subtotal in Per row level in Subtotal in visual Format.
You couldn't only hide or show one subtotal in same hierachy level.
Here I suggest you to create a measure to let subtotal in other component show blank.
Measure =
IF(MAX('Table'[Component#])=2,SUM('Table'[VALUE]),IF(ISINSCOPE('Table'[SubName]), SUM('Table'[VALUE])))
Result is as below.
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.
Hi @v-rzhou-msft thanks for the idea. This alernative did cross my mind to be the closest possibility. Looks like currently its not possible to completely hide the Subtotal row when there is only one row with value for the given level. Would keep it open for some more time for any other possibilities.
Thanks
Nirmit
Hi @Anonymous ,
As far as I know, Power BI doesn't support us to hide values in same level. Currently, measure should be the best workaround. You can let the subtotal you want to hide to show blank.
Could you tell me if your problem has been solved? If it is, kindly Accept the helpful reply as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your problem.
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.
Hi @Anonymous ,
According to your statement, I know you want to keep subtotal in Component2 and hide subtotals in other Component. I think all subtotals in your screenshot are in same hierachy level(). You can turn off hierachy level subtotal in Per row level in Subtotal in visual Format.
You couldn't only hide or show one subtotal in same hierachy level.
Here I suggest you to create a measure to let subtotal in other component show blank.
Measure =
IF(MAX('Table'[Component#])=2,SUM('Table'[VALUE]),IF(ISINSCOPE('Table'[SubName]), SUM('Table'[VALUE])))
Result is as below.
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! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
141 | |
75 | |
64 | |
52 | |
47 |
User | Count |
---|---|
219 | |
89 | |
73 | |
66 | |
60 |