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

View all the Fabric Data Days sessions on demand. View schedule

Reply
kitcatnj
Frequent Visitor

matrix doesn't match table

I am recreating an excel file in power bi.

I have a 1 tab with data, and a 2nd tab with a pivot. 

 

I created a table in power bi which matches perfectly to the table in excel. 
I created to matrix (to simulate the pivot from excel) and my numbers don't match. 

Rows in the table equal 24. So does the excel pivot. My power bi  matrix says 21.

 

Can someone please tell me where my mistake is? I am sure it's simple, but i'm new to power bi and can't easily 

 

 export.PNGpivot.PNGvisual.PNG

excel.PNG

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi, @kitcatnj 

According to your image,it seems the same in table and matrix.

In your table , you put Category on the row, so there is no grouping for the total, shown as the total number of all Catogory 24.

In your Matix, you put the "Catrgory" on the colum , so the value in Matrix is calculated for each different Category grouping, you can try to add the Count in Matrix.  21+1+1+1=24 . it is the same as in the "Table".

vyueyunzhmsft_0-1668649880623.png

It measn when the Item ="Appliance" and Category="Disk" , the count =21.

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
v-yueyunzh-msft
Community Support
Community Support

Hi, @kitcatnj 

According to your image,it seems the same in table and matrix.

In your table , you put Category on the row, so there is no grouping for the total, shown as the total number of all Catogory 24.

In your Matix, you put the "Catrgory" on the colum , so the value in Matrix is calculated for each different Category grouping, you can try to add the Count in Matrix.  21+1+1+1=24 . it is the same as in the "Table".

vyueyunzhmsft_0-1668649880623.png

It measn when the Item ="Appliance" and Category="Disk" , the count =21.

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

rsbin
Super User
Super User

@kitcatnj ,

Looks to me like you have 24 rows:

1 CMOS +
1 Copper Switch +
1 CPU +

21 Disks =
24

If you show Grand Total by Row in your Matrix, it should show you 24.

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
Top Kudoed Authors