Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Is there a way to make this a one liner instead of rerwite this 12 times?
pick
([COST Claim Repair Age Year])
)
If I understand correctly what you want, it is:
aggr(NODISTINCT sum( {$<[COST Main Operation No1]={"*"}, [COST Main Operation No2]={"*"}, [COST Main Operation No3]={"*"}, [COST Main Operation No]={"*"} >}
pick([COST Claim Repair Age Year], [CONTRACT Main Contract In Year1] ,[CONTRACT Main Contract In Year2] , ...[CONTRACT Main Contract In Year12] )
), [COST Claim Repair Age Year])
(Count my paretnthesis please)
Regards,
Michael
If I understand correctly what you want, it is:
aggr(NODISTINCT sum( {$<[COST Main Operation No1]={"*"}, [COST Main Operation No2]={"*"}, [COST Main Operation No3]={"*"}, [COST Main Operation No]={"*"} >}
pick([COST Claim Repair Age Year], [CONTRACT Main Contract In Year1] ,[CONTRACT Main Contract In Year2] , ...[CONTRACT Main Contract In Year12] )
), [COST Claim Repair Age Year])
(Count my paretnthesis please)
Regards,
Michael
Yes, something like that. But when I change it this way the result is not the same anymore.
Can't see why. If you upload a sample application I (or someone else) will take a look.