Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
LPlenty
Regular Visitor

Show X-Axis items with no value - Overriding relative date filter

I have set my X-axis to show items with no data, as i wish to see all months when filtering by slicer which contains values in only some months. However, it appears to be overiding my relative date filter. It only does this when I apply the "show items with no data" under my date X-Axis.

 

I have a relative date filter set to show the last 12 calender months only and a date table ending 31/03/2025. 

 

Any ideas how i can fix this? thanks in advance.

LPlenty_0-1743499496402.png

LPlenty_1-1743499504180.png

LPlenty_2-1743499512413.png

 

1 ACCEPTED SOLUTION

Is that hierarchy automatically generated? It's probably because it's auto or you are using a hierarchy. As a best practice, we disable auto-datetime as that creates an invisible (but still occupies memory) for each date column in the model.

danextian_0-1743506980302.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

7 REPLIES 7
LPlenty
Regular Visitor

Ok it behaves as expected when YearMonthShort used, but not when the date hierachy is?

LPlenty_3-1743502318220.png

 

LPlenty
Regular Visitor

Yes.

LPlenty_0-1743502056506.png

LPlenty_1-1743502061683.pngLPlenty_2-1743502068864.png

 

 



Is that hierarchy automatically generated? It's probably because it's auto or you are using a hierarchy. As a best practice, we disable auto-datetime as that creates an invisible (but still occupies memory) for each date column in the model.

danextian_0-1743506980302.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Yes its auto-generated, so that must be why. Thank you! Have amended. 

danextian
Super User
Super User

Hi @LPlenty 

 

The relative date behavior is designed to display only the data points within the selected range. When filtering to the last 12 months, it should include only those months relative to the current date and exclude any data from earlier periods.

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Yes. That is the behaviour I am expecting, however as you can see from above graphic its also displaying months early in 2024 and later in 2025 which are not within my 12 month relative date filter. Any ideas what could be causing this? My fact table has no dates after March 2025 and my date table is also set to end in March 2025. 

Are you using the date column from the same table in your column chart? or did you use the one from your fact table?

 

You can see in the image below the relative date filter works just as expected

danextian_0-1743501789592.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors