Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
G'day,
I'm having some problems after upgrading to ver 12. I'm running November SR2 Release.
I have a report that read data from a variable but does not work any more
=Sum({<SA_DATE1={'<=$(VmaxDate)'}>} CALC_QTY)
the varaiable VmaxDate is:
=DATE(Max(SA_DATE),'DD/MM/YYYY')
When I'm putting the varaiable in a Text object I can see the max date correctly.
In Qlikview 11 it's working correctly.
Any help will be appreciated
Thanks
Yaniv
Please change Single Quote to Double Quote?Qlik Design Blog
Thanks Anil for the quick replay
Double quotes did not work as well
=Sum({<SA_DATE1={"<=$(VmaxDate)"}>} CALC_QTY)
Please try this without variable? And let me know
=Sum({<SA_DATE1={"=SA_DATE1<=DATE(Max(SA_DATE),'DD/MM/YYYY')"}>} CALC_QTY)
OR, Create one statement using this?
If(SA_DATE1<=DATE(Max(SA_DATE),'DD/MM/YYYY'), 1,0) as Flag
And, Create this measure instead yours
Sum({<Flag = {1}>} CALC_QTY)
=Sum({<SA_DATE1={"=SA_DATE1<=DATE(Max(SA_DATE),'DD/MM/YYYY')"}>} CALC_QTY)
Work
Now try this?
=Sum({<SA_DATE1={"=SA_DATE1<=$(VmaxDate)"}>} CALC_QTY)
That did not work
May be this?
=Sum({<SA_DATE1={"=SA_DATE1<=$(=VmaxDate)"}>} CALC_QTY)
No
Will you able to share application to investigate?