Hi there, I am wondering if there is functionality to be able to swap visualisations out based on an input parameter.
I have included an image for reference.
What I would like to do is change the drop down select on the parameter control to show certain variables on demand. This would be handy because it enables me to group variables based on their scale on the y axis.
I am wondering if this is possible?
See image below whereby it is currently filtered on “Production”. I have set a rule to show this when the box is ticked. Ideally, I would like to tick the other boxes independently to show a different set of variables.
Hi Sagmukhe, I have found this very useful and been able to apply to a number of applications in my analysis. Where I was stuck a little was being able to use the control to select and deselect groups of variables.
I have included some code of what I mean, but it is of course erroneous.
I am also seeing a comment down below which is on dynamic dimensions and measures and rendering based on conditions but am yet to find a solution to my problem in this instance too.
Hello @jacksons , Glad to know that my suggestion helped you. To your follow up question, I believe you are looking to project Fluid Above Pump and Gas Rate - these 2 variables in the Line Chart, when the user chooses “Fluid Level Above Pump” in the slicer selection. Similarly you want to project 3 variables when they chooses “Pump Speed”.
If this is the understanding, then you need to create 3 calculated fields with similar logic and project those 3 fields in the line chart and based on the selection, it will provide you the right representation.
Put these 3 in the Line Chart and if I undertood and interpreted your problem correctly, then that should work. Please let me know if this helps or makes sense. Cheers!