March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a table with the following columns
Name | Group | MonthsRemaining
I have a chart to display the total number of students we'll have every month for the next 12 months and the problem that I run into is that chart won't display anything when there are months with no graduations.
My current measure looks like this:
CALCULATE(
COUNTROWS(Name),
ALLEXCEPT(Student, Student[Group])
) -
CALCULATE(
COUNTROWS(Name),
FILTER(ALLEXCEPT(Student, Student[Group]), Student[MonthsRemaining] <= MAX(Student[MonthsRemaining]))
)
Any help will be greatly appreciated.
Thank you!
Solved! Go to Solution.
@pwrch , You should use a date table and have a month year in Date table, Join it with the date of your table .
And then use this option with month year in visual
@pwrch , You should use a date table and have a month year in Date table, Join it with the date of your table .
And then use this option with month year in visual
Thank you this worked perfectly!
User | Count |
---|---|
117 | |
77 | |
58 | |
52 | |
46 |
User | Count |
---|---|
171 | |
117 | |
63 | |
57 | |
51 |