Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Morning all
Can someone assist please.
I have the following statement in my load:
LOAD
IF ([EndOfMonth]<[Today],'Overdue',
IF ([EndOfMonth]<=[EndOfCurrentMonth], 'FALLING DUE BY END OF MONTH'))AS Status
Which is working fine.
However, I would like to adapt this to say that if it does not match either of these IF statement then
to put the text 'Overdue'
Thank you
May be this:
LOAD
If([EndOfMonth]<[Today],'Overdue',
If([EndOfMonth]<=[EndOfCurrentMonth], 'FALLING DUE BY END OF MONTH', 'OverDue')) as Status
May be this:
LOAD
If([EndOfMonth]<[Today],'Overdue',
If([EndOfMonth]<=[EndOfCurrentMonth], 'FALLING DUE BY END OF MONTH', 'OverDue')) as Status
I think you already have "overdue"
but anyhow
IF ([EndOfMonth]<[Today],'Overdue',
IF ([EndOfMonth]<=[EndOfCurrentMonth], 'FALLING DUE BY END OF MONTH'.'Overdue'))AS Status
Or may be this:
LOAD
If([EndOfMonth]<=[EndOfCurrentMonth], 'FALLING DUE BY END OF MONTH', 'OverDue') as Status
Thanks Sunny
For the different ways to achieve this.