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
baneworth
Helper II
Helper II

wrong Month values showing

Hello Community,

 

i created a simple chart with Values for the Y axis and Month for the x axis.

The Month comes from our company calender and stretches from Jan2022 - Dec 2023

 

What i can not explain now is that it adds several additional "Months" in between (refer to image).

 

Month chart.jpg

 

month.png

 

i double checked the values and the shown values for month do not exist in the table, i can not explain how they show up.

I also checked with different  Y axis values and it always shows the month as in the image.

 

Does anyone have any clue what is going on?

 

Best regards

1 ACCEPTED SOLUTION
AllisonKennedy
Super User
Super User

@baneworth  The Month column is numeric, and your axis is set to 'continuous'

AllisonKennedy_0-1677057988682.png

 

 

So it's showing all numbers in between (months only have 12, but that doesn't fit within base 10 numbering system).

 

Either change your axis to categorical, or use "End of Month" column from your date table (if you have one) as that will be a 'Date' datatype instead of 'number' and will behave with base 12 month system you want 🙂


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

3 REPLIES 3
AllisonKennedy
Super User
Super User

@baneworth  The Month column is numeric, and your axis is set to 'continuous'

AllisonKennedy_0-1677057988682.png

 

 

So it's showing all numbers in between (months only have 12, but that doesn't fit within base 10 numbering system).

 

Either change your axis to categorical, or use "End of Month" column from your date table (if you have one) as that will be a 'Date' datatype instead of 'number' and will behave with base 12 month system you want 🙂


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

@AllisonKennedy 

 

Thank you for the quick fix!!

You're very welcome. Glad it worked 🙂


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

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.