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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.