You can do this with a parameter and a calculated field. In the attached twbx, you will see I created a parameter with two options (Group and Codes). Then a calculated field (on the color shelf) will change the dimension depending on what is selected.
Sample Sales TWBX.twbx 82.4 KB
1 of 1 people found this helpful
Create parameter with 2 values Group and Codes , name it something like color.
create a calculation like below :
IF [color]='Group' THEN [Group]
ELSEIF [color]='Codes' THEN [Codes]
Use this calculation in color shelf.
I don't think so unfortunately.