Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Siddhanttomar
Contributor
Contributor

Ascending descending Order of salary using button

hey i want create button for bar chart which show salary of employee  1st button t to arrange the bar in ascending order  according to salary and second for descending of the salary please help me out

1 Solution

Accepted Solutions
OmarBenSalem

Easiest way to do so : 

Create 2 bar charts; one ascend and one desc.

Then create a container and put your 2 bars and play with the show condition (the ascend shows when ur variable is ascend etc)

View solution in original post

2 Replies
OmarBenSalem

Easiest way to do so : 

Create 2 bar charts; one ascend and one desc.

Then create a container and put your 2 bars and play with the show condition (the ascend shows when ur variable is ascend etc)

Andrea_Spinetti
Former Employee
Former Employee

Hi @Siddhanttomar, @OmarBenSalem solution is definitely a great and fast way to achieve what you are looking for. Another way to do that would be to create a variable "vSortingFlag=0" and use it with a button to change the sorting dynamically from ASC to DESC in the chart. Have a look at this attached example 😊

If the issue is solved please mark the answer with Accept as Solution.