Forum Discussion
Distinct count on the date based on the grouping Key and categorize it - DAX
- 8 years ago
Hi chandishd,
Based on my test, you can refer to below steps:
1.I have entered some sample data to test for your problem like the picture below.
2.
2.Create a measure and a calculated column.
Measure = COUNT(Sheet1[ID])
Type = IF([Measure]=1,"Single","Many")
3.Create two Table visual and a Slicer visual and add the related fields. Now you can see the result.
You can also download the PBIX file to have a view.
Regards,
Daniel He
- 8 years ago
Thank you v-danhe-msft
- 8 years ago
Hi chandishd,
could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?
Regards,
Daniel He
Hi chandishd,
Based on my test, you can refer to below steps:
1.I have entered some sample data to test for your problem like the picture below.
2.
2.Create a measure and a calculated column.
Measure = COUNT(Sheet1[ID])
Type = IF([Measure]=1,"Single","Many")
3.Create two Table visual and a Slicer visual and add the related fields. Now you can see the result.
You can also download the PBIX file to have a view.
Regards,
Daniel He
Thank you v-danhe-msft
- v-danhe-msft8 years ago
Microsoft Employee
Hi chandishd,
could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?
Regards,
Daniel He