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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Date Issue - Calendar Month Year Not populating data

Hi Experts

 

See attached sample file, when you change the filter on the Calendar to Month Year (from Date Hierarchy to Calendar month year) - shared axies you get a Flat line in the ploted Line Bar Chart, If you add all periods it works fine, the issue is drilling down to year month level.

 

Sample File
https://www.dropbox.com/s/d8aljd4zxih0w2d/Test%20%281%29.pbix?dl=0 

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

It is good that you have a dedicated Date table in your model, but you also need to turn off Auto Date/Time in the settings for the file.  The issue is that your Calendar table is not "Marked as a date table".  Also your Date column is DateTime type instead of Date.  Once you fix those, the chart looks the same.

 

mahoneypat_0-1629136864745.png

 

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

3 REPLIES 3
mahoneypat
Microsoft Employee
Microsoft Employee

It is good that you have a dedicated Date table in your model, but you also need to turn off Auto Date/Time in the settings for the file.  The issue is that your Calendar table is not "Marked as a date table".  Also your Date column is DateTime type instead of Date.  Once you fix those, the chart looks the same.

 

mahoneypat_0-1629136864745.png

 

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Anonymous
Not applicable

Thanks Pat excellent feedback, Fixed

amitchandak
Super User
Super User

@Anonymous , I found few relationship issues. I saw that join of the date table is with moth year, not on date. Which I think is not correct.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.