Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
i've the following problem: i need to cover gaps in numerical sequences.
I've two fields, e.g., FIELD_C and FIELD_P:
So, i want this output:
Please, can you show me the right expression to do this?
Thanks,
Mattia
Hi
probably this could work
NoConcatenate
OUTPUT:
LOAD
FIELD_C,
If(FIELD_C<>Previous(FIELD_C), 1,
If(FIELD_P<>Previous(FIELD_P),(Peek('FIELD_P')+1),Peek('FIELD_P'))) AS FIELD_P,
FIELD_P AS FIELD_P_OLD
Resident ...
Order By
FIELD_C,
FIELD_P
;
Hi,
thanks for the prompt reply.
I try and i let you know ASAP!
Mattia