I have a measure "Classification" that classifies vendors by soled items. The table looks something like this:
Vendor | Soled | Classification |
---|---|---|
Ven1 | 10 | B |
Ven2 | 5 | C |
Ven3 | 100 | A |
Ven4 | 15 | B |
I am trying to build this table by counting the vendors fitting the Classification Measure:
CountClass | Classification |
---|---|
1 | A |
2 | B |
1 | C |
But when I put the "Classification" Measure in a Table and make a Count on Vendor on the visualization I get this result:
Vendor | Classification |
---|---|
4 | A |
It just sums the vendors up and only shows the "Classification" = A. If I do not set a count on vendors, I can see all Classifications.
How can I make this work? Please help me.
Create a simple measure:
CountOf: calculate(countrows(VALUES(table[Vendor])))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.