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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
adiarnon
Creator III
Creator III

set analysis with variable

i have a problem with my expresion:

Sum({$<Year=,Month=,  Date={">=$(VStartDate1)<$(VEndDate1)"}>}Complain)

VStartDate1-->  =(AddYears(min(Date),-1))

VEndDate1--> =(AddYears(max(Date),-1))

why its not working (giving the wrong number)

maybe i need to take off the '='

tnx

14 Replies
antoniotiman
Master III
Master III

sum({1<.....,Date={.....

adiarnon
Creator III
Creator III
Author

not working....

i think i try every possible syntax

sushil353
Master II
Master II

Hi,

Make sure that your Date field and the calculated variable format is same...

HTH,

Sushil

antoniotiman
Master III
Master III

my

sum({1<Pdv=P(Pdv),NData={"<=$(maxdata)>=$(mindata)"}>} sales)

adiarnon
Creator III
Creator III
Author

i added a field of num(Date) and i entered it in the set analysis and it worked.

tnx evryone!!