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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
shane_spencer
Specialist
Specialist

Reference line based on (if) Condition

I capture metrics for 2 servers. They have different amount of Memory. I have a bar chart that is related to memory consumption. I want to put a reference line that is based on what server I select rather than one or two fixed lines. I assume this can be done quite easily with an expression but I can't quite figure out how to do it. Sample QVW is attached,

i.e. The GBW04939 line will only appear when that server is selected, and the GBW04938 will only appear when that server is selected.

1 Solution

Accepted Solutions
Not applicable

Attached with answer. You can use GetFieldSelection() .

Thanks

View solution in original post

2 Replies
Not applicable

Attached with answer. You can use GetFieldSelection() .

Thanks

shane_spencer
Specialist
Specialist
Author

Perfect! Thanx.