Is it possible to return dimensions with different types under a single parameter?

Hi all, 

Now I have the data which is similar as follows:

week_from_launch     date                       sales 

52                                  2020-08-15           1000

104                               2021-08-15            900

…                                   …                              …

The week_from_launch is an integer and date is date.

What I want to achieve is to set a parameter, and use the dimension selected as the x-axis of the bar chart. So when I choose ‘week_from_launch’, the data will be shown with week_from_launch, and vice versa. 

However, since they are in different data types, I am struggling to find a way to visualise it. 

Does anyone have any good suggestions? Thanks!

0 1 176
1 REPLY 1
Top Labels in this Space
Top Solution Authors