Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
My if statement is as follows:
IF(ISNULL(A),'No Receive Date',IF(B<>'Accepted',IF(LEN(C)>0,IF( LEN([D)>0, IF(D>C,'Delayed','On Time'),IF(NOW()-C<0,'On Time','Delayed')),'No Due Date'),'No Action')) as DELAYED
I am looking out for other options instead of using IF statement .
Please suggest me.
Backend performance won't be heavily impacted using if statement, besides I don't even think you have another better way to do this.
This seems to be used in script, right? You cannot use set analysis in script. Also, not sure what issues you are running into, but if you can point the issue into, may be we can suggest another way to help you out here
Hi Gireesh,
as this is conditional statement so, using IF is fine .. also i think you are using this condition in script so what is the issue of using if condition ?
Yes, I am using this at script level, I am calculating field DELAYED based on other fields.
So set analysis is out of option here. Now why do you not want to use if? Are you getting any errors?
You are going to derive something, it is not possible to derive values like if in SETANALYSIS.
If condition working good.But data is more then 50 lakhs.So if we use if condition performance will kill.Thats why i am looking other way.
Backend performance won't be heavily impacted using if statement, besides I don't even think you have another better way to do this.
IF Condition kill the performance.So i am looking other way...
Hear if condition checking each and every row.so loading data taking so much of time.