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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I am working on building a Financial PL in Power BI and I have Accounts and then GL Accounts that roll up to them, I have created a custom table that formats the PL to look like a standard PL and allows me to have different fiancials and staticistal accounts all in one Matrix, however I am trying to enable functionality of expanding the Category to see the GL detail underneath and I'm struggling to get it to work how I want.
I want to remove the expand + signs from the blank rows and the rows that dont have detail underneath them like Total Revenue.
Solved! Go to Solution.
Hi @Zdenison
It isn't currenlty supported to selective disable the expand icons. You can however, write a condition so when a certain category is expanded, it won't show the lower level hierarchy. Try this sample measure
// Hide the measure value when drilling down to the account code level
// for specific summary categories to avoid showing duplicate totals
IF (
// Check if we're at the detail level (account code and name is visible)
ISINSCOPE ( 'table'[account code and name] )
// AND the current row is a summary/total category
&& 'table'[account category] IN { "Total Revenue", "Total Income", "Etc" },
// If both conditions are true, return blank (hide the value)
BLANK (),
// Otherwise, show the normal P&L measure value
[pnl measure]
)
Hi @Zdenison , Hope you're doing fine. Can you confirm if the problem is solved or still persists? Sharing your details will help others in the community.
Hi @Zdenison , Thank you for reaching out to the Microsoft Community Forum.
We find the answer shared by @danextian is appropriate. Can you please confirm if the solution worked for you. It will help others with similar issues find the answer easily.
Thank you @danextian for your valuable response
Hi @Zdenison
I wanted to check if you had the opportunity to review the information provided by user. Please feel free to contact us if you have any further questions.
Hi @Zdenison
It isn't currenlty supported to selective disable the expand icons. You can however, write a condition so when a certain category is expanded, it won't show the lower level hierarchy. Try this sample measure
// Hide the measure value when drilling down to the account code level
// for specific summary categories to avoid showing duplicate totals
IF (
// Check if we're at the detail level (account code and name is visible)
ISINSCOPE ( 'table'[account code and name] )
// AND the current row is a summary/total category
&& 'table'[account category] IN { "Total Revenue", "Total Income", "Etc" },
// If both conditions are true, return blank (hide the value)
BLANK (),
// Otherwise, show the normal P&L measure value
[pnl measure]
)
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 125 | |
| 108 | |
| 46 | |
| 29 | |
| 27 |