The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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)
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)
Solved! Go to Solution.
try writing like this
TotalCount =
SUMX(
VALUES('table'[Machine No]),
[MissingSchemedesign]+[MissingDrawings]+[MissingRisk])
Thanks It is working
However column headers are displaying empty.
I also dont want to display those measures where is count is zero.
Thanks Ahmedx, it works.
One more question, I want to display data in following format using measure field. I tried in Table and Matrix, but no luck. Any other format I am missing
Missing | Count |
Missingschemedesign | 1 |
Missing Drawing | 0 |
Missing Risk | 1 |
Total | 2 |
try writing like this
TotalCount =
SUMX(
VALUES('table'[Machine No]),
[MissingSchemedesign]+[MissingDrawings]+[MissingRisk])
User | Count |
---|---|
78 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
52 | |
50 | |
46 |