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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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