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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Text box help using IF function

I am very new to Qlikview, I am used to writting static reports, but Qlikview is a different way of thinking (which I like!)

I am looking for help in focusing multiple rows into each of their own text boxes. So after I have clicked to select my project I now have multiple lines of data from a table. I would like to focus each line into it's own Text box, for formatting purposes.

To start off i have tried to enter this if statment in the one text box. =if(LongText.Key1='nem_project_scope',LongText.LINE_TEXT). It just gives me a - mark in the text box.

Any help to straighten me out would be appreciated. Let me know if you need more detail.

Thank you in advance

Bryan

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try

=only({<LongText.KEY1 = {'nem_project_scope'}>} LongText.LINE_TEXT )

View solution in original post

6 Replies
Not applicable
Author

if you add a false branch eg

=if (LongText.Key1='nem_project_scope',LongText.LINE_TEXT, '???')

what happens?

Not applicable
Author

Making progress...It now displays ??? in the textbox.

I have a table box directly below it and it displays the 6 different values one of which is the nem_project_scopeSNAG-0089.jpg

Not applicable
Author

check your case.... KEY1 not Key1

Not applicable
Author

Still the same result, to be sure i had it correct, i went in and did paste field.

swuehl
MVP
MVP

Try

=only({<LongText.KEY1 = {'nem_project_scope'}>} LongText.LINE_TEXT )

Not applicable
Author

Worked like a charm! Thank you!