Qlik Community

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Read about the latest Qlik Community enhancements on the Community News blog!
cancel
Showing results for 
Search instead for 
Did you mean: 
Sazabi
Creator
Creator

Generating a list using GetFieldSelections() with Transformation

Greetings Qlikers,

 

I am looking to use GetFieldSelections() to generate a list of selected timestamps in their numeric form separated by commas.

=GetFieldSelections(num(timestampField),', '))

^- Does not do the trick 😞

Use Case:

User Selections the Dates: 5/8/2019, 5/9/2019

 

GetFieldSelections(num()) Returns: 43593, 43594

 

Any other way to do this?

 

Regards,

 

S

2 Replies
Vegar
MVP
MVP

I have not seen or heard of use like this, but you could try to do something like the code expression below.

Concat( NUM( subfield( GetFieldSelections(timestampField), ',')), ', ')
Plees ekskuse my Swenglish and or Norweglish spelling misstakes
Vegar
MVP
MVP

If you can live without the criteria that it had to be selected and accept to include all associated timestampField then you could simplify your expression to this:

=Concat(NUM(timestampField), ', ')
Plees ekskuse my Swenglish and or Norweglish spelling misstakes