By using GetCurrentField(), we can get the selected dimension in a Group. By getting the dimension, using If() in expression you can achieve this in a single expression like below
=If(GetCurrentField(GroupName) = 'Dimension1', Expression1,
if(GetCurrentField(GroupName) = 'Dimension2', Expression2,
if(GetCurrentField(GroupName) = 'Dimension3', Expression3, Expression4)))
Hope this helps you.
Now you don't need four expression, single dynamic expression serves your purpose.
Actually i have same requirement. If i select one expression then i should get the respective dimension value so that i can pass same thing through button to navigate to other sheet....
So do we have have any method by which i can which expression and corresponding dimension selected ?
Thanks in advance