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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ash_cool10
Frequent Visitor

Grand Total in Matrix Table

Hi There,

 

I am facing an issue in Matrix table where i have one column which consist of two groups or two values (e.g  Table 1 consist of  Food Items which have "Apple" and "Mango") and i want to show total of Apple and Grand total only in matrix table week wise .

 

Capture_1233.JPG

 

Can anyone help how can we achieve this ? @amitchandak @Ashish_Mathur @jihwan_kim

Thanks,

Ashish 

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

7 REPLIES 7
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @Ashish_Mathur ,

 

Thank you ever so much for your help. Appreicate it !

Can you also help how can i achieve Apple% =(Total of Apple/Grand Total) just below Grand Total.

 

Please see below desire result :

 

 

Capture.JPG

You are welcome.  I do not know how to do that.  I think there can only be 1 Grand total row.  Let's wait for someone else to contribute. 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

No Problem, Really appreicate your inputs.

 

Cheers !

Thank you.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@ash_cool10 , You have to create a table like the one suggested in blog. You can directly use with with you table many to many join

 

A new Table

Food Item , Fod Item Group

Apple, Apple

Apple , Apple + Mango

Mango, Apple + Mango

 

If need add

Mango, Mango

 

Not use this tin visual with filter Apple, Apple + Mango 

 

https://amitchandak.medium.com/power-bi-add-grand-total-row-in-the-bar-visual-44c3d1d463be

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak ,

 

Thank you for your prompt response.

 

I tried to create the same as you suggested however its not going to solve my issue as once i select "Select All /Single Select on any food item but its not going to give me desire result " beacause if i select any one of the values from new table its going to select single field and grand total will show only that item value however i want only Apple selected in field and Grand Total will be of (Apple +Mango) week wise.

 

Can you please help me on this ?

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.