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.

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