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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
UncleLewis
Helper V
Helper V

Matrix Returns Incorrect Result

Hi all.

 

Using Power BI Desktop

I imported data, setup Model added 3 Measures:
Total A, Total B, Total A/B

On Matrix I added Accounts to Rows, Dates To Columns and Total A/B to Values.

Hmmmm.... I thought to myself...that does not look correct.

I added a new page. on new page I added
Account Slicer
Date Slicer
Card - Total A
Card - Total B
Card - Total A/B
I adjusted slicers for 1 account, 1 date
Card - Total A/B is giving the correct result.
Why would the Matrix not give the same result?

Thanks,

-w

 

1 ACCEPTED SOLUTION
UncleLewis
Helper V
Helper V

I added the Date field from the Date Table as a second item on the Columns Shelf for the Matrix Visual.

 

I then removed the first date from the Columns Shelf which was coming from Table B.

 

The correct summary by first day of month remained - no further action needed - nice!

 

The Matrix now shows the correct result and ties-out to Card w/Slicers page.

Thanks,

-w

View solution in original post

2 REPLIES 2
UncleLewis
Helper V
Helper V

I added the Date field from the Date Table as a second item on the Columns Shelf for the Matrix Visual.

 

I then removed the first date from the Columns Shelf which was coming from Table B.

 

The correct summary by first day of month remained - no further action needed - nice!

 

The Matrix now shows the correct result and ties-out to Card w/Slicers page.

Thanks,

-w

selimovd
Super User
Super User

Hey @UncleLewis ,

 

when the results are different the filter context will be different.

Can you hover over the filter icon for the matrix and also for the card visual?:

selimovd_0-1631812174067.png

 

Then you should see which filter context is influencing the visuals and due to that difference in result.

You can also share the file, then I can take a look.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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