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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Sort the Sparkline chart by a numeric column

Hello, Is it possible to sort the Sparkline chart? I would like to sort the X axis by a numeric column, but it doesn't work. It seems to me that when I try to sort the chart, column Y is sorting instead of X. 

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi,  @Anonymous 

You can try to create a rank column for your field in the X axis, and then sorted the field  by this custom column .

 

48.png

 

If it doesn't work, please share a sample file for further research.

 

Best Regards,
Community Support Team _ Eason



 

View solution in original post

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi,  @Anonymous 

You can try to create a rank column for your field in the X axis, and then sorted the field  by this custom column .

 

48.png

 

If it doesn't work, please share a sample file for further research.

 

Best Regards,
Community Support Team _ Eason



 

vanessafvg
Super User
Super User

which sparkline chart, custom  visual?  what type of data are you using?  can you provide more information?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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