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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
baneworth
Helper III
Helper III

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
Community Champion
Community Champion

@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
Community Champion
Community Champion

@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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.