cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GEO_Kyle
Regular Visitor

Invert/Reverse Axis on Line Chart

Hello, Is it possible to invert or reverse an axis for a Line Chart? I currently have a Line Chart with the X axis starting with the oldest dates, but I would like for it to start with the newest dates.
2 ACCEPTED SOLUTIONS
MFelix
Super User
Super User

Hi @GEO_Kyle, On the chart top bar you will find 3 dots (...) click on it and you can choose the sort order in wich you want to have your data, in this case you should select first the Dates and then the descending order. Check this documentation. https://docs.microsoft.com/en-us/power-bi/consumer/end-user-change-sort Regards, MFelix

Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

v-chuncz-msft
Community Support
Community Support

@GEO_Kyle,

 

Besides, in the Format section of the Visualizations pane, expand the X-Axis card and change the Type option from Continuous to Categorical.

Community Support Team _ Sam Zha
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

4 REPLIES 4
Stewart_DM
Frequent Visitor

Easiest way is to click the three dots in top right corner of the visiual, click 'sort axis' and chose your preferred ascending/descending option.

 

Stewart_DM_0-1659622498591.png

 

Sorbent4
Frequent Visitor

Invert the y-axis

For line, bar, column, area, and combo charts, you can invert the y-axis, putting positive values going down and negative values going up.

  • Select the visual. In the Format pane, expand the Y axis section. Slide Invert axis to On.

     

     

     

v-chuncz-msft
Community Support
Community Support

@GEO_Kyle,

 

Besides, in the Format section of the Visualizations pane, expand the X-Axis card and change the Type option from Continuous to Categorical.

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

Hi @GEO_Kyle, On the chart top bar you will find 3 dots (...) click on it and you can choose the sort order in wich you want to have your data, in this case you should select first the Dates and then the descending order. Check this documentation. https://docs.microsoft.com/en-us/power-bi/consumer/end-user-change-sort Regards, MFelix

Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

European Share Point Conference

European Share Point Conference

This conference returns live and in-person in Copenhagen this 28 November-01 December with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.