Forum Discussion
I need help
- 4 years ago
Hi Syndicate_Admin ,
1 create a model like the following( add a calendar table for the fact table):
2 create a measure via:
Measure = calculate(DISTINCTCOUNT('Fact table'[id]), DATESYTD('calendar'[Date]))Result:
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello,
As long as you have a unique ID per enrolment and the enrolment date column, marked as data type 'date' and in a relationship with your date table, it should be straightforward to aggregate your enrolments as a measure in DAX;
Number of enrolments = DISTINCTCOUNTNOBLANK(Table[EnrolmentID]),
Then with your date hierarchy - I would drag Year, then month, then date of your date table into the X axis of a line chart so that you can toggle up to Year to compare years. Drag Number of enrolments into the Y axis.
Thank you.
I did as he told me, but my problem persists.
When graphing, the gross and non-accumulated valoes appear as I need.
Also, I need the lines from both years to appear on the same chart.