cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Total not matching on Matrix report

2019-01-15_16h20_39.pngThe

 

Member Transaction column total is not adding up on this matrix report , I also have few filter on this report and here is the code I'm using for MemberTransaction:=

Calculate(DISTINCTCOUNT('Fact Sales'[Transaction Number] ),
FILTER (
('Fact Sales'),
'Fact Sales'[Loyalty Flag] = "Y"
)
)
The detail level values are correct but the total isn't adding up with all the detail values, it should 651 but I get 648. Why is it off, any help is appreciated. Thanks!!
1 ACCEPTED SOLUTION
AlB
Super User III
Super User III

Hi  @Anonymous

 

It's hard to tell like this but I would guess it has to do with the DISTINCTCOUNT. Maybe a transaction number comes up in Portland, Richmond, ... and is distinct at that level but at the higher level "C" those duplicates are counted as 1. 

 

View solution in original post

2 REPLIES 2
AlB
Super User III
Super User III

Hi  @Anonymous

 

It's hard to tell like this but I would guess it has to do with the DISTINCTCOUNT. Maybe a transaction number comes up in Portland, Richmond, ... and is distinct at that level but at the higher level "C" those duplicates are counted as 1. 

 

View solution in original post

Anonymous
Not applicable

Yes, You are right. At the higher Level there were few duplicate numbers that why total was off. I created a distinct count over couple of columns and this fixed the issue I had. Thanks for your time.

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors