Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2022, LIVE in Denver CO., May 16-19, 2022. REGISTER NOW TO RECEIVE EARLY BIRD PRICING
cancel
Showing results for 
Search instead for 
Did you mean: 
vkesavan1
Contributor
Contributor

Conditional Chart Display

I have a case where I have to display the speed of a vehicle - (Vehicle_speed) under the condition that , Ignition is in "Off" position. How do I create a count function that would show this?

2 Replies
Claudiu_Anghelescu
Specialist
Specialist

=if(Ignition='Off', Vehicle_speed)

or you can attach a sample
To help community find solutions, please don't forget to mark as correct.
Vegar
MVP
MVP

What kind of aggregation where you planning to use? Is presented in a way that only one value is available per row in your table or so you need to aggregate the speed using an maximum, minimum or average value? In the answer below I assume that multiple values is returned and thereby I use an average.

= average({<Ignition={'Off'}>}Vehicle_speed)

If a single value is assumed returned you can use only() in a similar way.
= only({<Ignition={'Off'}>}Vehicle_speed)
Plees ekskuse my Swenglish and or Norweglish spelling misstakes