Calling all Alteryx customers: Refer your colleague to try Alteryx and receive a $50 gift card. Sign up now!

Alteryx Designer Desktop Discussions

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

Required Month and Year

Srawat
8 - Asteroid

Hi Team,

 

Could you please help me to get the month & year in separate column from below date format. like- "June-2021".

Srawat_0-1661338397686.png

 

Thanks,

 

5 REPLIES 5
DataNath
17 - Castor
17 - Castor

Hey @Srawat, you should be able to use the following Formula tool expression to achieve the required format:

 

DateTimeFormat(DateTimeParse([EA-Datum],'%d.%m.%Y'),'%B-%Y')

 

DataNath_1-1661339008868.png

Srawat
8 - Asteroid

Thank you so much! It is working

Srawat
8 - Asteroid

Hi,

I need one more quick solution, amount sum. Please refer below screen , I am unable to understand why not the row 2 is not totaling in column (C(A+B). Do I need to use some different formula? Please advise.

 

Srawat_0-1661350794308.png

 

Thanks

 

 

DataNath
17 - Castor
17 - Castor

Hey @Srawat, you can't add nulls and so for numeric fields you'll need to convert these to 0 before you can then use them in a Formula. The easiest way to do this without grabbing 3rd party tools/manually typing a Multi-Field Formula expression is to just use the Data Cleanse tool, ensuring the option to 'Replace with 0 (Numeric Fields)' is ticked:

 

DataNath_2-1661351387955.png

DataNath_0-1661351349635.png

DataNath_1-1661351371021.png

Srawat
8 - Asteroid

Thank you! It's working now. 

Labels
Top Solution Authors