Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 38 | |
| 36 | |
| 29 | |
| 28 |
| User | Count |
|---|---|
| 127 | |
| 88 | |
| 78 | |
| 66 | |
| 65 |