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

Multi Row Formula, numbering rows after word

wonka1234
10 - Fireball

Hi,

 

I am using the multi row formula tool to select everything before the first "TOTAL". How can I include the first total with my "1"s. Everything below the first "TOTAL" should be 0.

 

wonka1234_0-1658782861384.png

 

Thank you.

 

7 REPLIES 7
Robin_McIntosh
11 - Bolide

How about changing the formula to:

if left([series],2) = 'CM' || [series] = 'CM'

then 1

else 0

endif

 

binuacs
21 - Polaris

@wonka1234 One way of dong this

 

binuacs_0-1658788899174.png

 

Qiu
21 - Polaris
21 - Polaris

@wonka1234 
Maybe we can do something like below.

0726-wonka1234.PNG

grazitti_sapna
17 - Castor

@wonka1234, another way to do this.

grazitti_sapna_0-1658830005928.png

 

Thanks!

Sapna Gupta
wonka1234
10 - Fireball

@grazitti_sapna @Qiu @binuacs @Robin_McIntosh  

I prefer if its all 1s upt o the Total. 

null rows would be 0.

You guys have done 0 till 1. I want 1s all the way till the first total.

binuacs
21 - Polaris

@wonka1234 Updated the workflow to reflect 1 till the first total

 

binuacs_0-1658851294794.png

 

Qiu
21 - Polaris
21 - Polaris

@binuacs 
thank you for the follow-up.

Labels
Top Solution Authors