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: 
bapu511
Contributor II
Contributor II

Variable value from chart expression is different from actual value

Hi ,

 

Below are the screenshots which what I am trying to display

#Variable Declaration

Let LastMonthDate = addmonths ('2021-02-15',-1);

 

#Variable resulting value in variables list

bapu511_0-1613359783124.png

 

#Chart Measure Expression

bapu511_1-1613359783138.png

 

#Value displayed in expression window

bapu511_2-1613359783144.png

 

#Result displayed in one of the columns in table

 

bapu511_3-1613359783153.png 

 

#Expression 

bapu511_4-1613359783182.png

 

Labels (3)
1 Solution

Accepted Solutions
MayilVahanan

Hi @bapu511 

Try like below

='$(LastMonthDate)'

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

2 Replies
MayilVahanan

Hi @bapu511 

Try like below

='$(LastMonthDate)'

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
bapu511
Contributor II
Contributor II
Author

Thanks