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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
danialier
Creator III
Creator III

Text Box product name display

Hello,

I want a Text Box to show the names of the products selected. I succeed doing that when I select a product. However when I select two products, those are not displayed in the text box...

Attached QV for your reference

Please help.

thks,dani

1 Solution

Accepted Solutions
manideep78
Partner - Specialist
Partner - Specialist

Hi,

Try this in your test object

='This is the product  ' & GetFieldSelections(product,',',10)

go through GetFieldSelections() in help content.

Here 2nd parameter is a seperator. comma(,) in this case and 3rd parameter is max items that can display. 10 in this case. default is 6.

Hope this helps

Regards

Manideep

View solution in original post

3 Replies
manideep78
Partner - Specialist
Partner - Specialist

Hi,

Try this in your test object

='This is the product  ' & GetFieldSelections(product,',',10)

go through GetFieldSelections() in help content.

Here 2nd parameter is a seperator. comma(,) in this case and 3rd parameter is max items that can display. 10 in this case. default is 6.

Hope this helps

Regards

Manideep

sudeepkm
Specialist III
Specialist III

you can use concat function:

concat(product,'  ,  ')

Please find the attached qvw.

Not applicable

Hi Dani,

There are two ways of achieving it...

1. Create a variable and give the calcualtion for it like below and display the variable in a Textbox :

              =GetFieldSelections(<Field Name>,'|')

2. Create a Variable.

  Create a Button and create a Action 'Setvariable' and asign the below calculation to that variable and display in a textbox.

                    =GetFieldSelections(A)  

Have attached a demo app.

Hope it helps !