Jump to content

Incremental RowId over the Same Category and Repeat


Kok Leong Foong

Recommended Posts

Create the following columns

[Row ID] = RowId()

[Previous Category] =Concatenate([Categories]) over (Previous([Row ID]))

Flag =If(([Previous Category][Categories]) or ([Row ID]=1),1,0)

[Required Column 2] =Sum([Flag]) over (Intersect([Categories],AllPrevious([Row ID])))

[Required Column] =Count([Categories]) over (Intersect([Categories],AllPrevious([Row ID]),[Required Column 2]))

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...