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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Last day of month shown as next month?

Hello,

I have data with a number calculated by date.

The number for a month should be the number of the last day of the month.

So the number for January should be the number I have for 31 Jan, the number for February should be the number I have fro 29 Feb, etc.

This all works fine if I show these last date of the month values in a table.

However if I switch visualisation to ie. a line graph or bar chart, all of a sudden 31 Jan gets the x axis label Feb 2020, 29 Feb gets the x axis label Mar 2020.... If I hover over the line or bar I still see the date (31 Jan) in the tooltip, but the axis label shows Feb 2020... quite annoying.

The last line point / last bar has no label...

 

Any idea how to get this corrected?

 

Analyst_J_0-1600788525264.png

 

 

Thanks for the help,

J

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , Just check is it showing date hierarchy. Then change it to date.

Also, make the axis as categorical

Axis_type.png

View solution in original post

nvprasad
Solution Sage
Solution Sage

Hi,

 

In the format section, under X-axis can you change from "Continuous" to "Catelogical".

 

Appreciate a Kudos! 🙂
If this helps and resolves the issue, please mark it as a Solution! 🙂

Regards,
N V Durga Prasad

View solution in original post

2 REPLIES 2
nvprasad
Solution Sage
Solution Sage

Hi,

 

In the format section, under X-axis can you change from "Continuous" to "Catelogical".

 

Appreciate a Kudos! 🙂
If this helps and resolves the issue, please mark it as a Solution! 🙂

Regards,
N V Durga Prasad

amitchandak
Super User
Super User

@Anonymous , Just check is it showing date hierarchy. Then change it to date.

Also, make the axis as categorical

Axis_type.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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