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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors