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: 
spetushi
Creator
Creator

QlikView - Reusing Expression with Variable as a Variable

Hello,

I am trying to convert the following expression in a variable (I have referenced the steps shown in: Reusing Expressions), but the chart is not calculating. I have used $-sign expansion as instructed, but no success. Could this be due to the 'vInitial' variable I have within the expression, or the hidden dates?

If(vInitial = 1, (Num(Count(Distinct If(([Initial Receipt Date] >= %CPStartDate AND [Initial Receipt Date] <= %CPEndDate ) OR ([Follow-Up Date]>= %CPStartDate AND [Follow-Up Date] <= %CPEndDate  AND Significant = 'Yes'), RecordID))


Thanks,

Sokol

1 Solution

Accepted Solutions
spetushi
Creator
Creator
Author

Please ignore. I was referencing incorrect variable name.


Thanks,

Sokol

View solution in original post

3 Replies
vishsaggi
Champion III
Champion III

What are the date formats of your ReceiptDates/FollowupDate and your %CPDates?

fashid
Specialist
Specialist

Please post your expression along with the sample application

spetushi
Creator
Creator
Author

Please ignore. I was referencing incorrect variable name.


Thanks,

Sokol