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
saud968
Responsive Resident
Responsive Resident

Calculate Sum of two measures

Hi Guys, 

 

I have seen multiple articles however, the sum of two measures is not working.  In the below screenshot "28" is Week Number and below are the count of the measures. So i am trying to get the sum of measure CMS DSAT + CW D-SAT in Combined DSAT however, as you can is i am getting value as 0 and not 5 for Week 28 or 7 for Week 29

 

saud968_0-1631422857894.png

These are the 2 two measures 

 

CMS D-SAT = CALCULATE(COUNT('MDA Sheet'[CSAT]), FILTER('MDA Sheet', 'MDA Sheet'[CSAT] = 1 || 'MDA Sheet'[CSAT] = 2 ))
CW D-SAT = CALCULATE(COUNT(CSAT[Score]), FILTER(CSAT, CSAT[Score] = 1 || CSAT[Score] = 2 ))

 

i have tried this not working - 

Combined DSAT = CALCULATE([CMS CSAT Detractor] + [CW CSAT Detractor])  @AllisonKennedy @amitchandak @ChrisMendoza @Jihwan_Kim @Greg_Deckler 

 

2 ACCEPTED SOLUTIONS
saud968
Responsive Resident
Responsive Resident

i was able to figure out guys

 

Combined DSAT = CALCULATE(COUNT('MDA Sheet'[CSAT]), FILTER('MDA Sheet', 'MDA Sheet'[CSAT] = 1 || 'MDA Sheet'[CSAT] = 2 )) + CALCULATE(COUNT(CSAT[Score]), FILTER(CSAT, CSAT[Score] = 1 || CSAT[Score] = 2))
 
saud968_0-1631424205007.png

 

 
This worked putting this here if someone else like me run into similar problem

View solution in original post

TomMartens
Super User
Super User

 Hey @saud968 ,

 

great that you figured out how to tackle you challenge!

Nevertheless I'm interested why you did not simply use:

Combined DSAT = [CMS D-SAT] + [CW D-SAT]

Regards, 

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

3 REPLIES 3
TomMartens
Super User
Super User

 Hey @saud968 ,

 

great that you figured out how to tackle you challenge!

Nevertheless I'm interested why you did not simply use:

Combined DSAT = [CMS D-SAT] + [CW D-SAT]

Regards, 

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Yeah weird I should have tried that but not sure why I did not try it. Sometimes I overthink and miss on simple things I guess this was one of that thing

saud968
Responsive Resident
Responsive Resident

i was able to figure out guys

 

Combined DSAT = CALCULATE(COUNT('MDA Sheet'[CSAT]), FILTER('MDA Sheet', 'MDA Sheet'[CSAT] = 1 || 'MDA Sheet'[CSAT] = 2 )) + CALCULATE(COUNT(CSAT[Score]), FILTER(CSAT, CSAT[Score] = 1 || CSAT[Score] = 2))
 
saud968_0-1631424205007.png

 

 
This worked putting this here if someone else like me run into similar problem

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.