Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
ishan42d
Contributor
Contributor

Adding an horizontal average reference line to a combo chart

Hello,

I would like to add a horizontal reference average line to my combo chart. the average reference line will show the average time and I am not able to do that as the time is a measure field, a continuous one and I am not able to filter down the same with either the if statement or the set expression. I need a simple thing to show, something like this: 

=if(Match([Client],'A') and Match([type],'B'),time)

The measure- time is already created using the avg aggregation and stored in a similar fashion. Hence I don't need to do an average again in the if statement. 

 

Any help would be useful! 

 

 

Labels (1)
  • Chart

5 Replies
lanlizgu
Creator III
Creator III

Maybe in the measure you should aggregate the data by type and client?

Could you please share and example?

ishan42d
Contributor
Contributor
Author

 

I want to add reference lin where the average lead time is 115. A horizontal line that would be  I have attached the screenshot 

lanlizgu
Creator III
Creator III

reference line is not available in combo chart but in line charts.

What you can do is keep your measure (115) as Variable and add as line

mcowley
Contributor II
Contributor II

Qliksense seems like such a step back from Qlikview.  They removed all of our functionality and control.