Forum Discussion
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
5 Replies
- Ahmedx
Super User
pls try this
Sample PBIX file attached
https://1drv.ms/u/s!AiUZ0Ws7G26Rij-V-NPCbMJ3wu18?e=WeiAvtsales = VAR _Count = CALCULATE(COUNTROWS('Sheet2'),REMOVEFILTERS(Sheet2[Col2])) RETURN IF(_Count>1, SUM(Sheet2[Col3]),"") ---- final = SUMX(SUMMARIZE('Sheet2',Sheet2[Col1],Sheet2[Col2]),[sales]) - AnonymousNot applicable
Hi ak77 ,
I created two samples and I think the second one might be more appropriate.
Best Regards,
Gao
Community Support TeamIf 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