Forum Discussion
Anonymous
3 years agoNot applicable
Power BI Dax - Distinct Count and Contains String
I am trying to create a measure in Power BI where I am counting the distinct rows of one column if another column contains certain text in a string and keep getting an error. Any assistance would be...
- 3 years ago
Anonymous ,
try this measure,
Count of Task Name = CALCULATE( DISTINCTCOUNT('Table'[Task Name]), CONTAINSSTRING('Table'[Label],"Weekly"))Thanks,
Arul
- Anonymous3 years ago
Thank you, this was helpful.
Arul
3 years agoSuper User
Anonymous ,
try this measure,
Count of Task Name =
CALCULATE(
DISTINCTCOUNT('Table'[Task Name]),
CONTAINSSTRING('Table'[Label],"Weekly"))
Thanks,
Arul
Anonymous
3 years agoNot applicable
Thank you, this was helpful.