1 of 1 people found this helpful
You are getting wrong colors because after putting "Species" to shape, clusters break sheet to the lowest level. So you have to correct compute using by right click on clusters & try to compute it on correct value.
That helped, now I get the correct graph when setting the "clusters" color mark to "compute using / Species"
However I don't understand the logic behind it.
I'm new to tableau and although I've been through a few tutorials I assume I missed something important here.
Thanks for any help or pointing me to some.
Is it not possible to have R compute once and for all the Kmeans cluster and have Tableau consider it as a new column the same way Tableau consider the "Species" column as there is no reason to change the clusters when modifying the visual filtering?
Thanks for clarifying this aspect.
I think you missed Jonathan Drummey's blog - Drawing with Numbers | Thoughts on data visualization and Tableau
In your current scenario you have to check this blog - At the Level – Unlocking the Mystery Part 1: Ordinal Calcs | Drawing with Numbers
Also, I am not sure about R thing so it will be better if you can ask that in a separate thread. I will try to suggest you on this when I will be free.