Forum Discussion

Joseph_Hchaime's avatar
Joseph_Hchaime
Helper III
3 years ago
Solved

Switch between multiple columns using buttons/slicer

Hi

 

I have a scenario where I have already calculated columns AND Measures in USD and in Local Currency. I read online that it's possible to create a slicer called Currency with USD and Local Currency as options. Where if the user selects USD, ALL the USD calculated columns and measures show up and the LC columns/measures are hidden and vice versa using the switch() function.

 

However, all the examples i saw were based on a single column or measure. How can I do that for multiple columns/measures? 

 

for instance: ID=1, Sales in Local Currency,Collection in Local Currency,Balance Outstanding in Local Currency
                     ID=2, Sales in USD, Collection in USD, Balance Outstanding in USD.

3 Replies