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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

help with expression

Hi All,

I have the following expression and i need to add something to it but struggling to get it working.

the current expression is

count({$<[Source]= {"EX"}>}distinct [Allocation Legacy Key])

I want to add a condition so that it only counts the lines where :

[Sent for Payment Date]-[Transaction Date]>60

Can anyone help me with adding this into the expression?

Many thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Something like this maybe:

count({$<[Source]= {"EX"},[Allocation Legacy Key] ={"=[Sent for Payment Date]-[Transaction Date]>60"} >}distinct [Allocation Legacy Key])


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Something like this maybe:

count({$<[Source]= {"EX"},[Allocation Legacy Key] ={"=[Sent for Payment Date]-[Transaction Date]>60"} >}distinct [Allocation Legacy Key])


talk is cheap, supply exceeds demand
Not applicable
Author

Nice one Gysbert! works a treat!

Thanks