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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Peppearson
Helper I
Helper I

Question Regarding Matrix Table - Reproducing Excel Table in

Hi All,

 

I'm trying to reproduce the following sample excel table in Power BI using a Matrix table.

Peppearson_0-1668677795987.png

 

So all I can produce is the below...the problem is trying to add the Cost row which in excel is a sum of Water and Apple.

Peppearson_1-1668677808940.png

 

The underlying data is in the following format:

Peppearson_2-1668677813505.png

 

Thanks in advance

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Peppearson , You Have use this approach which used for grand total and not selected value with little bit of difference

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

 

Power BI Modeling- Unselected values as others - https://youtu.be/HX4pgexYwf4

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
Peppearson
Helper I
Helper I

Hi @amitchandak 

 

This is very helpful thank you - it seems like this works as long as all the fields have the same calculaton.

 

In addition to the standard sum calculations I also need to show rows with a ratio calculation (see below)

Peppearson_1-1668681637712.png

Any ideas?

 

Edit - Will make a new post regarding this query as the below accepted solution answers the original query.

 

Anonymous
Not applicable

Hi @Peppearson ,

You can refer the following threads to get it by using ROW function:

Add new row with accumulate in Matrix

yingyinr_0-1668764488893.png

yingyinr_1-1668764634462.png

Looking for difference between two values by filters

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

amitchandak
Super User
Super User

@Peppearson , You Have use this approach which used for grand total and not selected value with little bit of difference

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

 

Power BI Modeling- Unselected values as others - https://youtu.be/HX4pgexYwf4

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.