Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Customers, Partners & Luminaries only: You're invited to a Data Analytics Roadmap session. Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor III
Contributor III

How to Show Selection Value in Label

Hi, I am looking to find out how I can display a value in a Label within a measure Measure based on a selection from a SimpleFieldSelect Extension.

I currently have the following 4 options on my page:

A | B | C | D

at present I have the following as part of my label:

=FieldValue('product_name', '1')

which I know will always show the first value no matter what I select. What I would like to do is to make this label dynamic so that this displays a single value of whatever is selected i.e. A, B, C or D and if more than 1 value is selected than I would like this value to change to ALL.

I am not sure if this is possible to do within the label field or whether I need to create a variable and then call it, but would love some advice as to what the best practice is to achieve this.

1 Solution

Accepted Solutions
Highlighted
MVP
MVP

If(getSelectedCount(product_name)=1, product_name, 'ALL')

View solution in original post

3 Replies
Highlighted
MVP
MVP

If(getSelectedCount(product_name)=1, product_name, 'ALL')

View solution in original post

Highlighted
Contributor III
Contributor III

Wow that was quick lol. Will give that a go. Thank you.
Highlighted
Contributor III
Contributor III

Brilliant, thank you so much, that worked!