Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ak77
Post Patron
Post Patron

SubTotal in Matrix Viz Blank value

Hi All ,

Need a help. Please check

 

i want to display Subtotal value to blank if there are no multiple columns to add in the Matrix Viz as below.  The highlighted B (Category 2) and D (Category4)  Total should display blank value as it just has one value to add. Sample PBIX is attached .

please let me know if anyone has ideas to solve this 

 

https://drive.google.com/file/d/1sthTI_CpRp3_lTvSk8325xd1e4dQkjiP/view?usp=sharing

 

ak77_0-1693941452421.png

 

5 REPLIES 5
Anonymous
Not applicable

Hi @ak77 ,

I created two samples and I think the second one might be more appropriate.

vcgaomsft_0-1694074115491.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

ak77
Post Patron
Post Patron

@Ahmedx , Thanks a lot for reply. Only total should be hidden and Values B and D should be displayed... can u please help with his. Thanks again

ak77_0-1693954589278.png

 

or

Screenshot_3.png

Ahmedx
Super User
Super User

pls try this
Sample PBIX file attached
https://1drv.ms/u/s!AiUZ0Ws7G26Rij-V-NPCbMJ3wu18?e=WeiAvt

sales = 
          VAR _Count = CALCULATE(COUNTROWS('Sheet2'),REMOVEFILTERS(Sheet2[Col2]))
          RETURN
          IF(_Count>1, SUM(Sheet2[Col3]),"")

----
final = SUMX(SUMMARIZE('Sheet2',Sheet2[Col1],Sheet2[Col2]),[sales])

 

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors