Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
1. I used a select tool first to extract just the 'Chat Time' Column. 2. Parsed Chat time through three DateTime tool to extract three field from Chat Time for Hours, Minutes and Seconds. 3. Joined using join multiple so I could use the Hours, Minutes and Seconds with one Formula Tool. 4. On the formula tool used Formula: IF LEFT([Hour],1)=='0' THEN RIGHT([Hour],1) ELSE [Hour] ENDIF on the Hour, Minutes and Seconds field while substituting the Hours with Minutes and Seconds on subsequent formula to remove leading '0'. 5. Used another set of 3 formula's on a new Field name mew Chat Time: IF [Hour]=="0" THEN "" ELSE [Hour] + " Hours " ENDIF. Same formula used again for minutes and seconds. 6. Use Select tool to display only the Chat Time and New Chat Time fields.