cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors