Alteryx Designer Desktop Discussions

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

Conditional filter

anonymous008_G
8 - Asteroid

Hi there, 

 

Can i filter data in Alteryx with condition? I want code or Alteryx to start filtering data from word Total and stop filtering when the system reads word or character as Develop. Output data should be from Total to prior develop record from below sample data.

Sector
Total
A
B
C
D
E
F
G
Develop
A
B
C
D
10 REPLIES 10
ChrisTX
15 - Aurora

Do you want to include the row for Develop?

 

Not sure what "prior" means here:  "from Total to prior develop record"

Raj
16 - Nebula

@anonymous008_G 
please add some sample input and expected output.
will be in better position to help.

binuacs
20 - Arcturus

@anonymous008_G one way of doing this

image.png

anonymous008_G
8 - Asteroid

Apologies if my above description was not clear. What I need is filter below input data from word Total to G (prior record of Develop) using conditional filter. My expectation is Alteryx to read word Total from input and start filtering data from this word till prior to Develop record. 

Input:- 

Sector
Total
A
B
C
D
E
F
G
Develop
A
B
C
D

 

Expected Output :-

Sector
Total
A
B
C
D
E
F
G
ChrisTX
15 - Aurora

Check out the Mult-Row Formula tool.   See attached workflow.

 

Screenshot 2024-07-29 061316.png

 

Chris

Raj
16 - Nebula

@anonymous008_G 
one way of doing this

anonymous008_G
8 - Asteroid

@binuacs -- Thanks for the solution. One question, if Total Word is from Record 3 or 4, how could we filter it from Total to the prior record of Develop? 

 

Sector
A
B
V
Total
A
B
C
D
E
F
G
Develop
A
B
C
D

 

Expected output:- 

Sector
Total
A
B
C
D
E
F
G
anonymous008_G
8 - Asteroid

@ChrisTX -- thanks, this fulfills my requirement.

aatalai
14 - Magnetar

@anonymous008_G  does this help

Labels