Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in BI by (1.6k points)

In a column, I have values range from 0 to 500. I want to form 3 groups i.e. 0-100,100-250 and above 250. I need to visualize this in Tableau worksheet in 3 different colours, So how can I do that??  

1 Answer

0 votes
by (3.1k points)

Using Calculated field you can achieve this as :

IF [Values_column] <= 100 THEN "color 1"

ELSEIF [Values_column] <=250 THEN "color 2"

ELSE "color 3"

END

After creating this field you can drag this field and drop it into the color shelf in marks card and select the colors as you want.

If you want to learn more about grouping then check to learn tableau.

Related questions

0 votes
1 answer
asked Jul 24, 2019 in BI by Vaibhav Ameta (17.6k points)
0 votes
1 answer
asked Nov 28, 2020 in SQL by Appu (6.1k points)
0 votes
1 answer
0 votes
1 answer
0 votes
0 answers

Browse Categories

...