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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. 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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors