Tableau formula for email domains

As much as I love Tableau, its string functions are rubbish. No split, no regex, not a lot very useful. I find myself constantly searching back in old Tableau files for this, so it's time to publish it!

This is a formula to take an email address and chop everything before and including the @ symbol. In other words, the domain part of your email addresses.

RIGHT([LoweredEmailAddress], LEN([LoweredEmailAddress]) - FIND([LoweredEmailAddress], '@') )
1 response
Thanks for posting this, Simon - I love when I have a question and someone else has already answered it and shared online. Cheers!