Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Can't figure why cell value always shows 1, won't increment

dpan
6 - Meteoroid
TotPriority3P3#Count
61
61
61
61
61
61

 

 

 

if [Row-1:P3#Count] = 0 then 1
elseif ([Row-1:P3#Count] + 1) <= [Row-1:TotPriority3]
then [Row-1:P3#Count] + 1
elseif ([Row-1:P3#Count] + 1) > [Row-1:TotPriority3]
then [Row-1:P3#Count]
else 0
endif

 

 

 

I should be getting:

P3#Count
1
2
3
4
5

 

Seems [Row-1:P3#Count] always evals to zero? P3#Count type is Int32

1 REPLY 1
dpan
6 - Meteoroid

Figured it out. I had group by wrong.

Labels
Top Solution Authors