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