Bengaluru, IN

Welcome to the Bengaluru User Group

Click in the JOIN GROUP button in Home to follow our news and attend our events!

SOLVED

days conversion

Deepakdw
5 - Atom

Hi All, Learning alteryx eagerly but got some easy doubts that are stuck in my head can you help me solve How to convert days i.e monday, tueday....friday to weekday and saturday and sunday as weekend.

2 REPLIES 2
ydmuley
12 - Quasar
12 - Quasar

Hello @Deepakdw 

 

You can use the function in DateTime tool to arrive at the day - Monday, Tuesday, etc.

 

Later you can use Formula tool to put a condition:

 

IF [Day] = 'Sunday' OR [Day] = 'Saturday' THEN 'Weekend' ELSE 'Weekday' ENDIF

 

Regards,

Yug

Regards,
Yugandhar Muley (Yug)

Alteryx ACE | Alteryx For Good India Lead | Bengaluru Alteryx User Group Lead
Deepakdw
5 - Atom

Thanks to both of you, solved it with ease. 🙂