Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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]
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.