Forum Discussion
Future dates displayed in table - possible?
- Anonymous5 years ago
Hi StidifordN
I think you want to show all values in X axis(Year/Month) even if there is no data in that Year/month.
Try to build a related Date table , add Year column and MonthName column from this Date table into your bar chart Axis and set the columns in Axis to show values with no data.
Due to I don't know your data model, I build a sample to have a test.
My Sample:
Calendar table:
Calendar = ADDCOLUMNS(CALENDAR(DATE(2021,01,01),DATE(2021,12,31)),"YEAR",YEAR([Date]),"MONTH",MONTH([Date]),"MONTHNAME",FORMAT([Date],"MMMM"))Sort MonthName column by Month column.
Relate two tables by Date columns.
Build your Bar chart as below.
Don't forget to set YEAR and MONTHNAME columns to show items with no data.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi StidifordN
I think you want to show all values in X axis(Year/Month) even if there is no data in that Year/month.
Try to build a related Date table , add Year column and MonthName column from this Date table into your bar chart Axis and set the columns in Axis to show values with no data.
Due to I don't know your data model, I build a sample to have a test.
My Sample:
Calendar table:
Calendar = ADDCOLUMNS(CALENDAR(DATE(2021,01,01),DATE(2021,12,31)),"YEAR",YEAR([Date]),"MONTH",MONTH([Date]),"MONTHNAME",FORMAT([Date],"MMMM"))
Sort MonthName column by Month column.
Relate two tables by Date columns.
Build your Bar chart as below.
Don't forget to set YEAR and MONTHNAME columns to show items with no data.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.