Forum Discussion
Can't get x-axis date to include no data without including all dates in year due to heirarchy
- 8 years ago
Hi stevemenke,
You can create a calendar table, with Date, Year, Month columns. Then create a chart, drag Year and Month columns from Calendar table to the X axis. Put calendar table Date column in a slicer visual. See:
Best Regards,
Qiuyun Yu
Hi stevemenke,
You can create a calendar table, with Date, Year, Month columns. Then create a chart, drag Year and Month columns from Calendar table to the X axis. Put calendar table Date column in a slicer visual. See:
Best Regards,
Qiuyun Yu
- stevemenke8 years agoFrequent Visitor
That worked. I originally tried the same thing but I was using the String month which would not sort properly.
Thanks!
- zgoldenfeld8 years agoFrequent Visitor
Is there a way to do this with the string names of the months? Like "Jan", "Feb" ?
- zgoldenfeld8 years agoFrequent Visitor
Found it here: https://community.powerbi.com/t5/Desktop/Month-Columns-in-PBI-Desktop/m-p/2717/highlight/true#M502
- stevemenke8 years agoFrequent Visitor
You link did not work. Can you please try again?