Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I'm a newby whjo needs some help!.
I'm loading a table of risk data, but I want to load an aditional sub-set of it as well.
So as well as the 'Risk Owner' field, I want to develop a seperate field of 'Active Risk Owner', only where the 'Risk Status' is 'Active'.
I've been trying to figure out how to do this in the load script using IF and THEN statements, to no sucesses.
If [Status] ='Active' Then [Risk Owner] as [Active Risk Owner],
Am I close??
Any suggestions??
You can use If within the load statement.
RiskData:
Load
Status,
[Risk Owner],
If([Status] ='Active' , [Risk Owner]) as [Active Risk Owner],
....
You can use If within the load statement.
RiskData:
Load
Status,
[Risk Owner],
If([Status] ='Active' , [Risk Owner]) as [Active Risk Owner],
....
Try this,
if([Status] ='Active',[Risk Owner]) as [Active Risk Owner]
Thanks Colin - i wasn't that far off after all!
really appreciate your help
Thanks for that - it works now!