Forum Discussion
vvibhakar
8 years agoFrequent Visitor
Distinctcount of values from multiple columns.
Hello, I am trying to analyse all the sourcing projects. We have 10 different columns for each Vendor and its price. I want to have a measure which shows me distinct count of all the vendors combi...
- 8 years ago
Hi vvibhakar ,
Click Query Editor->Transform, click on column [Vendor1] [Vendor2] [Vendor3], then click Unpivot.
After close and applied, create a measure using DAX like this:
Number = DISTINCTCOUNT(Table1[Value])
Regards,
Jimmy Tao
- 8 years ago
Ashish_Mathur
Super User
8 years ago