Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to create a field on the load statement that returns Y if the Payment Due Dt is < ReportDate else returns N. This field can be named Overdue.
Is that possible?
Thanks,
Daniel
I suppose that both fields are in one table than in Script just insert one line like:
Load *
,If([Payment Due Dt] < ReportDate, 'Y', 'N') as Overdue
From YourTable;
I suppose that both fields are in one table than in Script just insert one line like:
Load *
,If([Payment Due Dt] < ReportDate, 'Y', 'N') as Overdue
From YourTable;
Do you have Payment Due Dt and ReportDate in the same table? If you do, then it is as simple as doing this
If([Payment Due Dt] < ReportDate, 'Y', 'N') as Overdue
If they are not in the same table, you will have to somehow bring them in the same table....
Thanks for your help