Follow the below steps :
Remove your current calculation from Color Marks.
Now, Press CTRL + Measure Names + Color Flag and drag to Color Marks. It will Look Something as below.
Intellipaat offers Tableau Certifications training for the learners to master advanced visualization tools.