I have a dashboard with various visuals that currently pull data from datasource A only. I want to add another datasource, B, and a dropdown control that allows users to choose which dataset the visuals pull data from—either A or B.
Both A and B are created via direct query and this is something we do not want to change.
So far, I have:
Added the B dataset via Data > Add dataset
Created a parameter called $DatasetSelector with multiple values (A or B)
Added a dropdown control
How can I ensure that the data is dynamically pulled from the selected datasource without changing the type of visuals? In other words, I want the dashboard to look the same, with the only difference being the dataset used.