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
Willo
New Member

Datatable - incorrect dates on columns

Hello. I have created a datetable and built a stacked column visulisation. The values in the columns are correct but the dates, labelled on the axis are wrong. The dates in the tool tips are also correct. How can I resolve this please?

1 ACCEPTED SOLUTION

Hi, I think I see now. You have to change under formatting options the X-Axis from Continious to Categorial in order to see for each bar the exact thing you want. Otherwise it tries to draw an estimation of the places of the dates.

Like this:

xaxiscategoricalxaxiscategorical

 

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

5 REPLIES 5
Willo
New Member

Calendar Issue in PBiCalendar Issue in PBi

 

 

@amitchandak

 

please see screen shot with images of the 2 charts affectedPbi issue.png

 

Chart 1, showing tool tip with correct date and column on legend with incorrect date

Chart 2, showing days in number not dates

 

Thanking you in anticipation

amitchandak
Super User
Super User

@Willo , can you share some kind of screenshot

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
ibarrau
Super User
Super User

Hi. Can you explain a bit more about the problem? what is wrong with the axis? (please add a picture or describe de issue). Also it would help a lot if you explain your dataset, how is the date table built? is it related with the values in column chart?

Right now is difficult to understand the problem, the only thing I can think is that your months are not in order.

 

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Hiya, I've now added a screenshot of the problem. This is a simple data set with data for 54 schools with values across a 3  month period from March to May. I am seeking to show the values, first by date, then by week. To do this I have created a dates table, based on advice from this forum. As I say, the data is correct, but table 1 has incorrect dates on the legend, althought the tooltips are correct. Table 2 shows dates as numbered days rather

Pbi issue.png

than calendar dates

 

 

Hope that makes sense and looking forward to hearing from you.

 

Thanks for helping me

Hi, I think I see now. You have to change under formatting options the X-Axis from Continious to Categorial in order to see for each bar the exact thing you want. Otherwise it tries to draw an estimation of the places of the dates.

Like this:

xaxiscategoricalxaxiscategorical

 

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

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.