# Sorting Bar Chart Segments Based on Value

**URL:** <https://community.amazonquick.com/t/sorting-bar-chart-segments-based-on-value/30934>\
**Category:** Q&A\
**Tags:** bar-chart, Business-Intelligence-Engineer, quick-sight\
**Created:** [June 4, 2024, 8:39pm UTC](https://community.amazonquick.com/t/sorting-bar-chart-segments-based-on-value/30934 "2024-06-04T20:39:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jackattack6800](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jackattack6800](https://community.amazonquick.com/u/jackattack6800)\
**Post date:** [June 4, 2024, 8:39pm UTC](https://community.amazonquick.com/t/sorting-bar-chart-segments-based-on-value/30934/1 "2024-06-04T20:39:02Z")

</div>

Need to sort bar chart segments by size/value. Have read some posts that seem to have some success but not full success. Example screenshot shows bar chart setup. Requirement is to have largest segments on bottom and go up from there.

Thanks in advance for your help.

 ![barchart](https://d1wl4jav5dp96l.cloudfront.net/original/3X/2/e/2e7d95d58f7d0fcaa53fa0551eef415328f697e7.png)

---

<div class="post-metadata">

**Author:** ![Naveed](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/naveed/32/961_2.png) [@Naveed](https://community.amazonquick.com/u/Naveed)\
**Post date:** [June 5, 2024, 4:28am UTC](https://community.amazonquick.com/t/sorting-bar-chart-segments-based-on-value/30934/2 "2024-06-05T04:28:48Z")

</div>

Hi,

you need to add the sequence in with the values which help you in sorting.

Regards,  
Naveed Ali

---

<div class="post-metadata">

**Author:** ![Xclipse](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/xclipse/32/20455_2.png) [@Xclipse](https://community.amazonquick.com/u/Xclipse)\
**Post date:** [June 14, 2024, 3:22am UTC](https://community.amazonquick.com/t/sorting-bar-chart-segments-based-on-value/30934/3 "2024-06-14T03:22:49Z")

</div>

Did this solution work for you? I am marking this reply as, “Solution,” but let us know if this is not resolved. Thanks for posting your questions on the Quick Sight Community!

---

<div class="post-metadata">

**Author:** ![Xclipse](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/xclipse/32/20455_2.png) [@Xclipse](https://community.amazonquick.com/u/Xclipse)\
**Post date:** [June 14, 2024, 3:22am UTC](https://community.amazonquick.com/t/sorting-bar-chart-segments-based-on-value/30934/4 "2024-06-14T03:22:53Z")

</div>

Archived on June 14, 2024, 3:22am UTC


