cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GaryC11 Occasional Visitor
Occasional Visitor

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

Accepted Solutions
ryan_mayu Established Member
Established Member

Re: Sorting X Axis Accuracy/Calculation Issue

@GaryC11

 

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

View solution in original post

2 REPLIES 2
ryan_mayu Established Member
Established Member

Re: Sorting X Axis Accuracy/Calculation Issue

@GaryC11

 

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

View solution in original post

v-jiascu-msft Super Contributor
Super Contributor

Re: Sorting X Axis Accuracy/Calculation Issue

Hi @GaryC11,

 

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.

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 44 members 966 guests
Please welcome our newest community members: