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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.