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: 
Lisa_Sun
Support
Support

Can getselected count work with the expression

Hi Team,

Can GetSelectedCount function works with the expression?  For instance, the measure is based on the expression 'if(Year>2015,Year)'. When using

GetSelectedCount(Year) and select the year in the chart, the customer expects this function can get counted with the selected number of years.  For instance, selecting year 2016, this function should returns 1.  


Based on my research, this function only works with the field.  Please find the following details.

https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/ChartFunctions/FieldFunctions/gets...

field_nameThe field containing the range of data to be measured.

Could anyone please confirm?

Many thanks

Lisa

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up!
1 Reply
Lisa_Sun
Support
Support
Author

Customer claimed this works in qlikview. Please see the attached qvw.

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up!