Forum Discussion

MorePowerBI's avatar
MorePowerBI
Helper II
4 years ago

Calculated column that returns row sequences

Hello,

 

I need help creating the Dispense # column below:

 

 

If it helps this is the jmp script code snipet:
If( :ValueName == "Dispense Weight Chec", If( Lag( :ValueName ) != "Dispense Weight Chec", 1, Lag( :Dispense # ) + 1 ) )

 

I figured I could use EARLIER() but it gives me an error.

 

3 Replies