Forum Discussion
DistinctCount with summarize
- 7 years ago
Hi jdballard30,
You had the calculation correct. You just need to add the Program.ProgramStartDate on your columns drill down on the last level of the matrix and remove the subtotals on start date level and it will work.
Check the PBIX attach.
Regards,
MFelix
Hi jdballard30,
Without the full information is difficult to give the correct result at first time, in theory if you add the Start date to the summarize formula on your measure, and then add the date in the matrix visual should work fine.
If you can share a sample with the Start date i can check it.
Regards,
MFelix
Thanks for the quick response and the help! And my apologies for not including the start date in my original question. Your answer definitely answered the original question.
I've updated the model. The Program Start Date lives on the Program query, but I also have merged it into the Details query. I tried adding it in various ways, but couldn't seem to make it work (which is probably my lack of knowledge.) Updated pbix file is here.
- MFelix7 years agoSuper User
Hi jdballard30,
You had the calculation correct. You just need to add the Program.ProgramStartDate on your columns drill down on the last level of the matrix and remove the subtotals on start date level and it will work.
Check the PBIX attach.
Regards,
MFelix
- jdballard307 years agoHelper II
Thanks. I'm still trying to learn some of the ins & outs of Power BI, and this was helpful.