Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
rkpatelqlikview
Creator III
Creator III

Trend should show symbols

Dear Qlik,

PFA qvw. Can any one solve to show symbol in trend analysis in bar graph. Any one of them should display out of 3.

Thanks for your support.

1 Solution

Accepted Solutions
sunny_talwar

Check the attached where I created a variable with Linest_M function

=LINEST_M(Aggr(Round(Sum({ < [Safety Category] ={'Green'},WEEK= {">=$(=MAX(WEEK)-5)"}>}[Kms Travelled])/sum({<WEEK= {">=$(=MAX(WEEK)-5)"}>}[Kms Travelled])*100), WEEK), WEEK)

and then based of the value, we can decide if the increase, decrease or stable image shows up

View solution in original post

2 Replies
sunny_talwar

Check the attached where I created a variable with Linest_M function

=LINEST_M(Aggr(Round(Sum({ < [Safety Category] ={'Green'},WEEK= {">=$(=MAX(WEEK)-5)"}>}[Kms Travelled])/sum({<WEEK= {">=$(=MAX(WEEK)-5)"}>}[Kms Travelled])*100), WEEK), WEEK)

and then based of the value, we can decide if the increase, decrease or stable image shows up

rkpatelqlikview
Creator III
Creator III
Author

Thanks Sunny. Great help.