avi081265
Helper III
3 years agoNot able to do Sum multiple measures
Hello All,
I created 3 measures as mentioned below
1. MissingSchemedesign = If(calculate(count(Merge1[Id]),Merge1[Items.Level-2]="Scheme design")=0,1,0)
2. MissingDrawings = If(calculate (count(Merge1[Id]),Merge1[Items.Level-2]="Drawings")=0,1,0)
3. MissingRisk = If(calculate(count(Merge1[Id]),Merge1[Items.Level-2]="Risk")=0,1,0)
I am able to display above 3 measures value in table for each items as mentioned below
Now I want to display sum of the count seprately, not in this table, so I create formula as mentioned below, but it always display One (1)
TotalCount = [MissingSchemedesign]+[MissingDrawings]+[MissingRisk]
It should show Nine (9) not One (1)
Please let me know what wrong I am doing.
Regards
Avian
try writing like this
TotalCount = SUMX( VALUES('table'[Machine No]), [MissingSchemedesign]+[MissingDrawings]+[MissingRisk])