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

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

Reply
Chopacabura
New Member

Matrix count does not match Table Data

Hi, 

 

My total count for this one category is not counting the total numbers being shown in table detail.  "Days Late" is what I am trying to capture in Matrix but its showing the correct number in table when selected but I am not sure what is counting.

 

This example should show 3x OVRD and 4x 0-30 but 61-90 show correct quantity.  All the other category is showing the correct matching quantity but this one category is acting up.  What could it be the cause?

twv-ovrd.pngtwv-table.png

This should show 3x OVRD and 4x 0-30 and 61-90 is showing correct count (Days Late)

 

This is next category that works but above category is the only matrix that is reading something else.

Track-OVRD.pngTrack-table.png

 

What could be the cause?  There is no duplicate in my category reference, its one to many relationship.

 

1 ACCEPTED SOLUTION
v-agajavelly
Community Support
Community Support

Hi @Chopacabura 

Thanks for reaching out on the Microsoft Fabric Community Forum.

In Power BI where the Matrix visual count didn’t match the Table visual when grouping by “Days Late” into buckets like OVRD, 0–30, 31–60, and 61–90.

The logic I used in my case, the matrix was overcounting rows, for example, showing 7x OVRD and 9x 0–30, even though the actual table only had 3 and 4 respectively under the same filters.
I faced same issue is, to group Days Late into buckets (like 0–30, 31–60, etc.) didn’t exclude overlaps properly. So
one record could accidentally fall into multiple buckets, inflating the Matrix totals.

Use explicit range logic with both lower and upper bounds. Refer bellow Measure. I just given dax by seniario based.

Category Test  = SWITCH(TRUE(),

    'Table'[Days Late] > 90, "OVRD",

    'Table'[Days Late] >= 61 && 'Table'[Days Late] <= 90, "61-90",

    'Table'[Days Late] >= 31 && 'Table'[Days Late] <= 60, "31-60",

    'Table'[Days Late] >= 0 && 'Table'[Days Late] <= 30, "0-30",

    "Other")

This makes sure each row falls into only one category, with no overlap, so your Matrix will now show accurate counts that exactly match your Table.

--------------------------------------------------------------------------------------------------------------------------
If this solution works for you, please consider marking it as accepted so others facing a similar issue can benefit too.

Regards,
Akhil.

 

View solution in original post

1 REPLY 1
v-agajavelly
Community Support
Community Support

Hi @Chopacabura 

Thanks for reaching out on the Microsoft Fabric Community Forum.

In Power BI where the Matrix visual count didn’t match the Table visual when grouping by “Days Late” into buckets like OVRD, 0–30, 31–60, and 61–90.

The logic I used in my case, the matrix was overcounting rows, for example, showing 7x OVRD and 9x 0–30, even though the actual table only had 3 and 4 respectively under the same filters.
I faced same issue is, to group Days Late into buckets (like 0–30, 31–60, etc.) didn’t exclude overlaps properly. So
one record could accidentally fall into multiple buckets, inflating the Matrix totals.

Use explicit range logic with both lower and upper bounds. Refer bellow Measure. I just given dax by seniario based.

Category Test  = SWITCH(TRUE(),

    'Table'[Days Late] > 90, "OVRD",

    'Table'[Days Late] >= 61 && 'Table'[Days Late] <= 90, "61-90",

    'Table'[Days Late] >= 31 && 'Table'[Days Late] <= 60, "31-60",

    'Table'[Days Late] >= 0 && 'Table'[Days Late] <= 30, "0-30",

    "Other")

This makes sure each row falls into only one category, with no overlap, so your Matrix will now show accurate counts that exactly match your Table.

--------------------------------------------------------------------------------------------------------------------------
If this solution works for you, please consider marking it as accepted so others facing a similar issue can benefit too.

Regards,
Akhil.

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.