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! It's time to submit your entry. Live now!
I have a data series that has gaps for some months. I would like the x-axis to include a specific date range that includes some gaps. However, when I choose a the show items with no data on the date heirarchy it includes all dates within any the entire year. For example, I have a date filter from July 1 2016 to July 1 2017. It will include all of 2016 but I only want it to include the specified date range. I have attached an example picture.
Are there any work arounds? I have tried converting the dates to strings, but then the gaps don't show up because it does not know it is continous.
Solved! Go to Solution.
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
Is there a way to do this with the string names of the months? Like "Jan", "Feb" ?
You link did not work. Can you please try again?
That worked. I originally tried the same thing but I was using the String month which would not sort properly.
Thanks!
| User | Count |
|---|---|
| 56 | |
| 41 | |
| 38 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 140 | |
| 102 | |
| 64 | |
| 36 | |
| 35 |