Forum Discussion
Cumulative Distinct Count by Month AND within Reporting Category
kellzp22 try the following measure
Measure = SUMX ( SUMMARIZE ( Music, Music[Category],Music[Program], Music[Month], "_p", DISTINCTCOUNT( Music[Name] ) ), [_p] )
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
- kellzp226 years agoFrequent Visitor
This works a treat thank you so much. Do you mind if I ask what the "_p" and [_p] do??? Sorry if it's a dumb question.. I'm intrigued..
- parry2k6 years ago
Super User
kellzp22 no, it is ok, as much as you want. basically with summarize we are creating a table on fly and _p is just playing a role of column name which holds distinct count value.
hope it helps.
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
- kellzp226 years agoFrequent Visitor
Terrific, that makes sense. Thanks again, greatly appreicate your help.
- EduSurveys6 years ago
Advocate II