cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mmorley
Frequent Visitor

Clustered Column Chart Date Issue

Hi,

 

I've created a clustered column chart which uses the date as a range for the X-Axis, but I am experiencing an issue with it not displaying correctly.

 

The date is pulled in from an sql query in the date format, yet PowerBI is converting this to datetime format, I've then used the transform option to change it back to date only which then shows correctly in the tables, I've also tried using the format under modelling to set as dd/MM/yyyy, but in the chart the date format is still incorrect and shows dates like 10 Sep 00:00, 10 Sep 12:00, 11 Sep 00:00 instead of 10 Sep 2018, 11 Sep 2018, etc, etc.

 

I have used relative date filtering and set this to be in the last 7 days, which is what is required and have noticed if I set the date range to be anything within the last 8 days or less then I get the issue with the dates, but setting to 9 days or more shows just the 10 Sep, 11 Sep, etc, etc.

 

Is there an easy way to resolve this, or would it be advisable to log as a bug

 

thanks in advance

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@mmorley,

 

You may set X-Axis > Type to Categorical in the Format section of the Visualizations pane.

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

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@mmorley,

 

You may set X-Axis > Type to Categorical in the Format section of the Visualizations pane.

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

View solution in original post

thanks that worked

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors