Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hey there!
I have a column called 'evaluation'. It contains 4 types of field: Bad, Regular, Good, Great.
Looks like this:
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!
Solved! Go to Solution.
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:
If not your case, please share some data sample and expected output. Do mask sensitive data before uploading.
Best Regards,
Lin
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:
If not your case, please share some data sample and expected output. Do mask sensitive data before uploading.
Best Regards,
Lin
User | Count |
---|---|
128 | |
108 | |
100 | |
64 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |