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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Bypassing field while storing the value in variable

Hello Every One,

I am storing a value into a Variable, like this..

Variable = chr(39)& Concat(Distinct Date,',') &chr(39)

Now if I select any field say CustomerID, then variable value should not change.

Any idea, how I can achieve same?

Will Only() serve the purpose?

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this:

Variable = chr(39)& Concat({1} Distinct Date,',') &chr(39)


or

Variable = chr(39)& Concat({<CustomerID>} Distinct Date,',') &chr(39)

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

May be this:

Variable = chr(39)& Concat({1} Distinct Date,',') &chr(39)


or

Variable = chr(39)& Concat({<CustomerID>} Distinct Date,',') &chr(39)

Anonymous
Not applicable
Author

Above expression will return all Date from data

This works..

Variable = chr(39)& Concat({<CustomerID>} Distinct Date,',') &chr(39)