Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all , can anyone pleae help me, as it is very urgent
CRNO | OUTID | ONLINE | DEGRADED | MINUTES | ||||||||
CR2578038 | 1 | N | Y | 10 | ||||||||
2 | N | Y | 20 | |||||||||
3 | Y | N | 30 | |||||||||
4 | Y | N | 40 | |||||||||
Actually the requirement is ther is one filed called Outscopewhich is either online or degraded, I have to keep the flags Y or N | ||||||||||||
so in the backend I have creaated flags for both and cretaed 2 fileds like below | ||||||||||||
if(MATCH(SCOPE_NAME,'DEGRADED'),'Y','N') as DEGRADESCOPE, | ||||||||||||
if(MATCH(SCOPE_NAME,'ONLINE'),'Y','N') as ONLINESCOPE, | ||||||||||||
Now my requirement is there is one field called Minutes, similarly I have to diffrenetiate the sum of the ONLine minutes and sum of the Degraded minutes | ||||||||||||
I need to bring like this | ||||||||||||
CRNO | ONLINE | DEGRADED | ONLINEMINUTES | Degrade MINUTES | ||||||||
CR2578038 | N | Y | 30 | 70 | ||||||||
I want like above , how to do in back end, I need to get in the same row | ||||||||||||
I am not gettting as excepted
The below one is original ouput which i want
Change Order Number | Disruptive change (Full) | Full Outage Minutes | Disruptive change (Degraded) | Degraded Outage minutes | Disruptive Free change | Incident Number | ||
CR2574825 | Y | 331 | N | 22,447 | N | IN44448108 | ||
as I have done that but I am getting like this | ||||||||
in the script, I have wriiten like this |
Change Order Number | Disruptive change (Full) | Full Outage Minutes | Disruptive change (Degraded) | Degraded Outage minutes | Disruptive Free change | Incident Number | ||
CR2574825 | Y | 331 | N | 22,447 | N | IN44448108 | ||
as I have done that but I am getting like this | ||||||||
in the script, I have wriiten like this |
HI ,
please find the attached , i am not getting the Output as expected, please find the first one which i need like this, but i am getting like second one
can anyone please check
Anyone please check