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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Nighthawk
Contributor II
Contributor II

Using variable in ConvertToLocalTime

Is it possible to use variables for places in ConvertToLocalTime?
The syntax is ConvertToLocalTime([Some Time], vSelectedTimezoneByUser)

It doesn't work when i put this as a dimension in a table. How can I resolve this?

1 Solution

Accepted Solutions
marcus_sommer
MVP
MVP

Try it with: ConvertToLocalTime([Some Time], '$(vSelectedTimezoneByUser)')

- Marcus

View solution in original post

2 Replies
marcus_sommer
MVP
MVP

Try it with: ConvertToLocalTime([Some Time], '$(vSelectedTimezoneByUser)')

- Marcus

Nighthawk
Contributor II
Contributor II
Author

That works! Thanks.