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.
SOLVED

Multi field row formula

bsheremeta
7 - Meteor

I have a data set with the following column (txt):

"5

16.

123

234

135

1435

13

64."

 

I need the output to be:

"5

13"

 

So basically the rows before the number with the period (.)

I tried using multi row formula with the following:

IIF(CONTAINS([txt],"."), [Row-1:txt] , Null())

But don't seem to get the correct result 

 

4 REPLIES 4
apathetichell
20 - Arcturus

2021-07-20 (1).png2021-07-20 (2).pngAre you using multi-row formula? If so make sure you are creating a new string column... Otherwise if you are creating a new string in multi-row formula you code seems fine.... You'd want to filter out the null()s after...

 

LukeG
Alteryx Alumni (Retired)

Hi @bsheremeta 

 

Here is a workflow that uses the multirow formula to create a flag that is then used to filter out the records you are looking for.

 

LukeG_0-1626809658025.png

 

 

Let me know if you have any questions!

 

-Luke

bsheremeta
7 - Meteor

Thank you so much!

apathetichell
20 - Arcturus

@bsheremetaI think you did the hardwork on this one - your formula was a-ok.

Labels
Top Solution Authors