Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in BI by (17.6k points)
So I have a number like - 1234567890. I just want 3 numbers from 4th position i.e only 456.

1 Answer

0 votes
by (47.2k points)
edited by

Use the MID syntax in Tableau. For you it will be like this -

MID(String_dimension_name, 4, 6)

Here, 2nd value is the index or position and 3rd value is the length.

Interested to learn about Tableau from top experts? Enroll in Tableau Course to get expert guidance.

Related questions

0 votes
1 answer
asked Aug 27, 2019 in BI by Vaibhav Ameta (17.6k points)
0 votes
1 answer
asked Nov 3, 2020 in BI by dev_sk2311 (45k points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...