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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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

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.

 

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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