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
mollig3
Frequent Visitor

date formats

I have an excel file that contains a date column. In the query editor, it is formatted as "date". Then, when I come to use it in a bar graph and select the display as months, I choose modeling>then change it to format as "mm-yyyy". However, it does not show up on the graph as the way i have it selected to display. Am I missing something?? Thanks in advance for any help!

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @mollig3,

 

When you added date to X-axis of bar chart, did you change the default date hierarchy to original date format?

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yes, that is how my date appears when I pull it into the X-axis. But I have january and february of 2017 and 2018 and the rest of the months I only have as 2017 so I'm hoping to distinguish between the different years when the month is the same.

 

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.