Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
45 |