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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

variable + field name

Hi All,

I have 2 field : Dollar_us and Dollar_ca.

I want to create a variable and set the variable( ie: location => (ca or us) ) to switch between this two field.

What I want to know is that how to add the variable to the end of filed?  means : Dollar &location  ????

Thanks

1 Solution

Accepted Solutions
erichshiino
Partner - Master
Partner - Master

Hi,

You can use

=Dollar_$(var) as a calculated dimension instead of a regular dimension.

I create a small sample with the same functionality

hope this helps,

Erich

View solution in original post

3 Replies
erichshiino
Partner - Master
Partner - Master

Hi,

You can use

=Dollar_$(var) as a calculated dimension instead of a regular dimension.

I create a small sample with the same functionality

hope this helps,

Erich

Not applicable
Author

Thanks,

I was using the regular dimension instead of the calculated one.That's why I was getting the error message.

Not applicable
Author

Cool