ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Bangalore, IN

Welcome to the Bangalore User Group

Click the 'Join Group' button to get updates on group news and 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. 🙂