Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

sorting in a bar chart

hello all,

first question :

i have a bar chart which has 13 months of data , i need to sort values according to last 12 months of data .

Capture1.PNG

second querstion :

i have defects : p1 to p4 , how do i sort data in below order

p4

p3

p2

p1

Capture1.PNG

Third question :

3 Replies
Not applicable
Author

Hi

Can you post sample qvw with some dataset?

thanks

Peter_Cammaert
Partner - Champion III
Partner - Champion III

1st answer: use set analysis to reduce the bar chart scope to the last 12 months. BTW what is your first dimension?

2nd answer: sort the defect category dimension Z->A (text)

3rd answer:

Not applicable
Author

Hi peter  first dimension is
defect category , first column in table

second answer it is working thanq ,

3rd anwer :

i have a graph . where i am using terc_closing date as dimension

and expression i am evaluating for each terc_defect category

for example for code, i am writing an expression and

for application configuaration i am writing an expression

, i am getting the below graphs

i want months to be for last 12 months , since this monthe is feb

i want

Capture1.PNG

Capture2.PNG

capture4.PNG

Capture5.PNG

the last graph is the right sort  order, i am giving sort expression as

count({<terc_defect category ={"$(vperviousmonth)")>}terc_defect category