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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Arul
Super User
Super User

Matrix Total Different Results

Hi all,

I have two matrix visual which is having some measures one with correct total and other with wrong total. What can be the issue?

1. Showing Correct result

Arul_0-1723462255089.png

2. Not showing correct results

Arul_1-1723462292051.png

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @Arul - Can you try below measure added , region on values part. Check once to get the totals

 

Var value_ = IF(HASONEVALUE('Current Date'[Region]), SELECTEDVALUE('Current Date'[Region]), BLANK())
Var count_ = CALCULATE(
COUNT('Current Date'[Dem Id]),
'Current Date'[GPN] = BLANK(),
'Current Date'[Taleo Id] = BLANK(),
'Current Date'[Region] <> "NCH",
'Current Date'[Region] = value_)
Var result = IF(ISBLANK(count_), 0, count_)
Return IF(ISINSCOPE('Current Date'[Region]), result, SUMX(VALUES('Current Date'[Region]), result))

 

Hope it works





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @Arul - Can you try below measure added , region on values part. Check once to get the totals

 

Var value_ = IF(HASONEVALUE('Current Date'[Region]), SELECTEDVALUE('Current Date'[Region]), BLANK())
Var count_ = CALCULATE(
COUNT('Current Date'[Dem Id]),
'Current Date'[GPN] = BLANK(),
'Current Date'[Taleo Id] = BLANK(),
'Current Date'[Region] <> "NCH",
'Current Date'[Region] = value_)
Var result = IF(ISBLANK(count_), 0, count_)
Return IF(ISINSCOPE('Current Date'[Region]), result, SUMX(VALUES('Current Date'[Region]), result))

 

Hope it works





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.