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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Sorting X Axis Accuracy/Calculation Issue

Hi everyone,

 

I'm trying to develop a report at the moment, which I've had issues sorting my X Axis by Week Numbers.

 

Currently my X Axis is shown by -

 

Wk 1 January

Wk 2 January

Wk 3 January etc.

 

To make this work, I labelled each week number to just a number i.e 1,2,3 etc.

 

I added these numbers to my tooltips, which seems to have corrected the alpha/numeric ordering. However I'm getting a huge cumulative jump randomly at the start. I found that I could change the tooltips to "Count", however all that does is revert my X Axis labelling to "Wk 1 January", "Wk 10 March" etc.

 

Is there any way I can correct this issue? I can't see why my chart is showing a huge jump in the beginning of the year, where as I should be expecting a steady rise.

 

Thanks

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@Anonymous

 

Have you tried to choose the week numbers column and click Modeling->Sort by column, then choose number column. Then you only need to sort your week numbers in the chart. That will follow the orders by number column.

 

However, I still recommend you to create a calendar date table and link that with your fact table. Then in the chart you can drag the columns from calendar date table. That will be much easier.

 

Thanks





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Could you please mark the proper answers as solutions?

 

Best Regards,

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

@Anonymous

 

Have you tried to choose the week numbers column and click Modeling->Sort by column, then choose number column. Then you only need to sort your week numbers in the chart. That will follow the orders by number column.

 

However, I still recommend you to create a calendar date table and link that with your fact table. Then in the chart you can drag the columns from calendar date table. That will be much easier.

 

Thanks





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors