Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How would i convert this to a set anlysis?
if(Receipt_Store = Return_Store, min(Receipts.DATE))
min( {$<Receipt_Store = {'Return_Store'} >} Receipts.DATE )
Hi
Assuming that you are looking for the minimum Receipts.DATE when the Receipt_Store is the same as the Return_Store:
If type: Min(If(Receipt_Store = Return_Store, Receipts.DATE))
Set Anal: Min({<Receipt_Store=Return_Store>} Receipts.DATE)
Jonathan
not sure why, but this returns null (-).
To clarify
Min({<Receipt_Store=Return_Store>} Receipts.DATE)
Matches the value of field Receipt_Store with the value of field Return_Store
Min({<Receipt_Store={'Return_Store'}>} Receipts.DATE)
Matches the value of field Receipt_Store with the literal text 'Return_Store'.
Jonathan