Skip to main content

Tableau Title case

 Tableau converting text case 


  • UPPER case function
  • lower case function
  • Proper case function


UPPER case function:


The upper case function converts all letters to uppercase (capital letters)

ex:

Function 
Name:

UPPER (Name)

Result:

Name: AJAY KUMAR


lower case function:


The lower case function converts all letters to lowercase.(small letters)

ex:

Function Name:

LOWER(Name)

Result:

Name: ajay kumar



Proper Case

The Proper case is text that is capitalized with the first letter of each word.

ex:

Create a calculator field for this: Name

UPPER(LEFT(SPLIT([Name],' ',1),1)) +

LOWER(MID(SPLIT([Name],' ',1),2,20)) +

' ' +

UPPER(LEFT(SPLIT([Name],' ',2),1)) +

LOWER(MID(SPLIT([Name],' ',2),2,20)) +

' ' +

UPPER(LEFT(SPLIT([Name],' ',3),1)) +

LOWER(MID(SPLIT([Name],' ',3),2,20))


Result:

Name: Ajay Kumar



Comments

Popular posts from this blog

Git Hub

GitHub GitHub is a version control and code hosting platform for collaboration. Acquired by Microsoft in 2018, it allows us and others to work from anywhere on multiple projects at once. With the help of GitHub, we can access our code from anywhere and a positive example of this is that if you ever wrote any code or did any productive work and you need it in the future, then you can easily review your work. And together after writing the code once, you will be able to use your work again and again, which will save your precious time and you will also be able to do  productive work. What is Repository? A repository contains all our project files and the history of each file modification. We can discuss and manage project work created in our repository. Basic Step to Create a Repository Step 1:  Login to GitHub for more  Click me  Login or Sign Up    Successfully Login       After login successfully you will be in GitHub main page/das...

LOD function in tableau

LOD Function Level Of Detail expressions (LOD) allows us to calculate values at data source level and visualization level in tableau application tool. This gives us more control over the level of granularity we want to calculate. Types of LOD FIXED INCLUDE EXCLUDE Fixed : It compute a value using the specified dimensions, without reference to the dimensions in the view. ex: {FIXED [Region] : SUM([Sales])} Include: Calculating values using specified dimensions other than whatever dimensions are in the view ex: { INCLUDE [Customer Name] : SUM([Sales]) } Exclude: It declare dimensions to omit from the view level of detail. ex: {EXCLUDE [Order Date (Month / Year)] : AVG({FIXED [Order Date (Month / Year)] : SUM([Sales])})}