Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

pass selected item as header

There are two columns -- header and item -- in a table box chart.

headitem table box.JPG

If a user click an item and that item is one of the headers, how to pass the selected item as a header and let the table box show relevant contents as below example (assume E13 as item is selected)?

item pass to header.JPG

qvw is attached. Appreciate your kind advice.

1 Solution

Accepted Solutions
settu_periasamy
Master III
Master III

Hi,

May be you can try with Triggers..

Document Properties -> Triggers -> Field Event Triggers -> Select In Field

Field :   headers

Search String:  =Only({<headers=P(Items),Items=>}headers)

View solution in original post

5 Replies
sunny_talwar

The attached qvw has no data. Also do you want to see this in the table box or a straight table will work?

settu_periasamy
Master III
Master III

Hi,

May be you can try with Triggers..

Document Properties -> Triggers -> Field Event Triggers -> Select In Field

Field :   headers

Search String:  =Only({<headers=P(Items),Items=>}headers)

Not applicable
Author

Hi settu,

thanks for the suggestion. have some problems to try the search string: =Only({<headers=P(Items),Items=>}headers)

it has error in set modifier element function. i'm not able to figure out what's wrong

settu_periasamy
Master III
Master III

Do you have same field which i proposed? It is case sensitive.

headers or Headers?

Items or items?

You need to give the exact name.

Can you post what you have done in qvw?

Not applicable
Author

Hi settu,

all fields are in lowercase. it works now!

MANY THANKS!