SOLVED
Datetimetrim alternative for tableau calculation
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Jarviz
7 - Meteor
10-16-2023
04:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi community,
i am trying to convert the below expression to tableau calculation. Could you please help?
datetimetrim([date],’day’)
Solved! Go to Solution.
Labels:
4 REPLIES 4
Deano478
12 - Quasar
10-16-2023
04:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @Jarviz i'm not very familiar with Tableau but you can try this?
DATEPART('day', [date])
17 - Castor
10-16-2023
04:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Are you trying to get the day of the date? If yes, you could try:
DateTimeFormat([date],"%A")
Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Alteryx
10-16-2023
04:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
All the date time functions can be found here:
https://help.alteryx.com/20231/designer/datetime-functions
Samantha Clifton
Alteryx
#alteryxrocks
Alteryx
#alteryxrocks
10-16-2023
05:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
never mind i got it. It was just trimming the time format and retaining the date. Thanks all for your valuable comments.
