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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.