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: 
Not applicable

Display Field name Based on Content

Hi Guys.

I have 2 tables splited, one of my tables has a primary key with the name of a instance, my second table has thousands of columns that represent components of this instance,  almost all collumns are empty but some of thems have a text called OK, the columns that have content depend of the selection of the primary key, my doubt is how i present only the field that match the content based on the selection of my primary key.

To give a better example i give a example of the table:

InstanceApp1App2App3App4App5App6
Instance AOK
Instance BOK
Instance COKOK
Instance DOK

I want that when i select the Instance A in my list appears a text objects with the Field name App3.

This is possible?

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

This should be feasible to do using Cross Tab in the script.

Thanks,

SP

View solution in original post

5 Replies
Anonymous
Not applicable
Author

Yes,

If you have a data similar to this

DataImage.PNG

Are you expecting something like this ??

QlikOutput.PNG

SP

vishsaggi
Champion III
Champion III

Are you going to use 1000 columns in this? One way to show the columns conditionally is to use write a show condition in expression tab - Conditional checkbox.

Not applicable
Author

I expect the following result:

InstanceComponent
Instance AApp3
Instance BApp2
Instance CApp5;App6
Anonymous
Not applicable
Author

This should be feasible to do using Cross Tab in the script.

Thanks,

SP

Not applicable
Author

Perfect,

Thats is what i was looking.

Thanks for your help