Start Free Trial

Alteryx Designer Desktop Discussions

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

Find month number from dataset

Shaaz
9 - Comet

Hi Team, I've data like below.

Shaaz_0-1670243389716.png

Expected Output:

Shaaz_1-1670243420897.png

I dont want to write ifelse condition to fix Sept entry rather I'm trying with RegEx_Match

 

if !REGEX_Match([ID], "[0-9]") then ToNumber(substring(DateTimeParse([ID], "%b"),5,2))
else [ID]
endif

 

the above formula is failing for entries where we have 10,11,12

1 REPLY 1
binu_acs
21 - Polaris

@Shaaz One way of doing

 

binuacs_0-1670244959362.png

 

Labels
Top Solution Authors