cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mukagalvani
Regular Visitor

Help with simple measure

Hey there!

 

I have a column called 'evaluation'. It contains 4 types of field: Bad, Regular, Good, Great.

 

Looks like this: 

 

image.png

 

I need to SUM only 'good' and 'great' lines in a measure in order to generate a graphic.

 

Tried to use SUM, SUMX and even COUNT, but don't know exactly how I can SUM different fields in a column.

 

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Help with simple measure

hi, @mukagalvani

After my research, you could try this formula like below:

Measure = CALCULATE(COUNTA('Table'[Customer]),'Table'[evaluation]="Good"||'Table'[evaluation]="Great")+0

Result:

4.JPG

If not your case, please share some data sample and expected output. Do mask sensitive data before uploading.

 

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support
Community Support

Re: Help with simple measure

hi, @mukagalvani

After my research, you could try this formula like below:

Measure = CALCULATE(COUNTA('Table'[Customer]),'Table'[evaluation]="Good"||'Table'[evaluation]="Great")+0

Result:

4.JPG

If not your case, please share some data sample and expected output. Do mask sensitive data before uploading.

 

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors