Skip to main content
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