I have a Tableau data source (original source is MariaDB) containing a number of email addresses. When doing some quality checks on the data source I wanted to identify a variety of possible data entry issues. One of these is whether the string is stored in all lower case.
While emails are not case sensitive, the data entry should ensure they are stored in a standardised way and not just as free text. But historic data has not imposed such checks. So I wanted to identify where emails have upper-case characters which is one (small) signal that the data entry has not been careful.
But with Tableau 2020.2 this seems hard to do (either directly from the source table or as extracts). For example testing whether lower([Email])=[Email]
simply returns true for all emails regardless of capitalisation.
Is there any easy way to force case sensitivity in comparisons inside Tableau or to check for upper-case characters in a string?
NB: this question is about Tableau not about solving the problem in simple DB queries. I use Tableau connected to a variety of data sources and would prefer a generic solution inside Tableau so details of DB setups are irrelevant.