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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
KumarC
Frequent Visitor

Totals from two different matrix - sum it in third matrix as Grand Total

Hello, It has been a month since i've started using PowerBI and im learning every single day. I have hit a wall and need your support in acheiving the desired output.

 

Preparing a Summary Page on a report with multiple sub pages, basically subsets of information under different categories.

In the Summary Page, I am trying to do some calculations using the totals from other matrix on the same page. The main problem is that the data is not clean, as it was compiled from 4 to 5 different data sources into a single database (mysql). I have included multiple columns to have all the data in one place and use the filters to generate the outputs under different categories etc., all along a date column (even the dates are in atleast 3 different columns). I know its a mess, but im trying my best to have this done as efficiently as possible.

 

Below picture shows two matrix:

first half is a matrix with 'POS' on rows, 'payment date' in columns

second half is another matrix with 'Product name' on rows, 'invoice date' in columns

Capture.PNG

What is need a Table/Matrix showing a Sum of total from first matrix and total from second matrix. I could do this comfortable in excel (shown below) but the data is getting too big to be handled in excel, hence ive switched to mysql and connected it to powerbi for automation.

 

Snapshot from excel, once i have the total, there are few other calculations that goes further. 

 

Is it possible to have this level of calculations done in power bi? 

Capture1.PNG

 

Thank you!!!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@KumarC , I have created something similar using extended dimension in P&L

 

Power BI How to get the P&L formatting right: https://youtu.be/C9K8uVfthUU

Share with Power BI Enthusiasts: 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

2 REPLIES 2
amitchandak
Super User
Super User

@KumarC , I have created something similar using extended dimension in P&L

 

Power BI How to get the P&L formatting right: https://youtu.be/C9K8uVfthUU

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you for the response! After carefully considering the current calculations and future calculations that may be required, I've decided the modify the underlying data structure itself. That resolved the current need! I will still go through the video for knowledge and perhaps it will come handy.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Users online (3,519)