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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.