We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Record ID and multirow formula

ohruud
7 - Meteor

Hi, 

 

I am tryng to produce a record id that is based on grouping. However, the grouping function in the multi-row formula does not  do the trick. 

 

So the issue is:  A field contains for example the same value (String function) for 5 rows. I would like all those 5 rows to have the same record ID until next rows come. then I would like +1. 

 

1

1

1

2

2

2

2

 

etc. 

 

I tried this formula, but it did not work : IF ISNULL([Row-1:Record ID]) THEN 1 ELSEIF [Question]!=[Row-1:Question] THEN [Row-1:Record ID] + 1 ENDIF

 

Thanks

 

 

1 REPLY 1
ohruud
7 - Meteor

I solved it.  I Created a record ID and made the following formual: IF [Question]!=[Row-1:Question] then [Row-1:RecordID] +1 else [Row-1:RecordID] endif  🙂

 

 

Labels
Top Solution Authors