cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cranoid
New Member

Graph Data Order

I have a table containing, Year, and WeekNumber in two columns the data, WeeklyPercentage, and  a sorting column Sort.

 

Annotation 2018-11-14 155212.jpg

 

I want to display the data on a graph with year and week number along x axis, WeeklyPercentage on the y axis and EscatlationLevel as the legend.

 

The graph always displays with the sorted by the WeeklyPercentage descending (sorted by y axis rather than x axis). I want to display with the x axis sorted

 

I have added the Sort column, but if I try and sort the WeeklyPercentage columns (contains duplicates) by this Sort column (doesn't contain duplicates) I get the following error.

Capture.PNG

 

How do I display with the X axis is sorted by Year and then WeekNo?

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft v-cherch-msft
Microsoft

Re: Graph Data Order

Hi @Cranoid

 

You may try to use 'Sort by' as below picture.

1.png

 

Regards,

Cherie

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

View solution in original post

3 REPLIES 3
rocky09 Impactful Individual
Impactful Individual

Re: Graph Data Order

can you add some sample data. So, I can try.

Microsoft v-cherch-msft
Microsoft

Re: Graph Data Order

Hi @Cranoid

 

You may try to use 'Sort by' as below picture.

1.png

 

Regards,

Cherie

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

View solution in original post

Cranoid
New Member

Re: Graph Data Order

That seems to have sorted it. So Simple when you know how!

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Top Solution Authors
Top Kudoed Authors