Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to have a chart always display a selection no batter what is really selected

I have an equation that gets me a safety exception and that works but my problem is I did this chart to show this information for Region when it is South no matter what is chosen by the user.

here is my current Safety equation.  How would I change this to show always for region south?

Avg([Total Distance Miles] / ([Speeding > 10 mph] + [Harsh Brake] + Seatbelt + [Hard Accel]))

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I figured it out.  For anyone wanting to know this is how you can set it.

Avg (  {<Region = {'South'} >}  ([Total Distance Miles] / ([Speeding > 10 mph] + [Harsh Brake] + Seatbelt + [Hard Accel])))

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hey Sally, try using set analysis to solve this. The expression would be something like:

Avg({<Region="South">} [Total Distance Miles] / ([Speeding > 10 mph] + [Harsh Brake] + Seatbelt + [Hard Accel]))


Check out this resource from Qlik to learn more about set analysis. Good luck

Anonymous
Not applicable
Author

I figured it out.  For anyone wanting to know this is how you can set it.

Avg (  {<Region = {'South'} >}  ([Total Distance Miles] / ([Speeding > 10 mph] + [Harsh Brake] + Seatbelt + [Hard Accel])))