Toggle button to show / hide visualization

Is there a feature available in QuickSight to change the visualization type (Show/Hide Feature) by using a toggle button or Radio button ?

Hello Abhishek,

This could be possible via Free-form layout. could you please check Conditional rules - Amazon QuickSight

Hope this helps your need.

Cheers,
Deep

1 Like

Thanks for the reply @Deep , Could you please help with the steps ? , I tried doing it but its not working as expected.

Hello @Abhishek11 - Thanks for posting your query. As @Deep suggested, you can do this leveraging the Free Form Layout in conjunction with Rules. However, as per my understanding that will allow you to do this based on slicer value selection. If you are looking for a visual effect i.e. you will click a toggle button that will hide/show the visual, I have not encountered any such feature as of yet. Sharing couple of reference links which can help you with that implementation.

However, in case you have a hardcore requirement of such an implementation, you can try to leverage “Navigation Action” to somewhat (in a very crude way) get that feel by duplicating the sheet. For that, please follow the steps

Step 1 : Create a sheet (Sheet 1) with the Visual and the “On” toggle button. Duplicate the sheet and in that duplicated sheet (Sheet 2), delete the visual and replace the “On” button image with “Off” button image.

Step 2 : Create Navigation Action on Sheet 1 on the “On” button image to take it to “Sheet 2”. Similarly create a navigation action on Sheet 2 on the “Off” button image to take it back to “Sheet 1”. Sharing sample implementation scenarios below.

Please note since there’s no such functionality to hide sheets conditionally at this point, the user will always be able to see both the sheets and will be able to manually traverse to both the sheets. Hence I would recommend to implement the “Slicer” selection based solution which is more elegant and user friendly. Hope this helps!

Did my suggestion help you in resolving your query? If yes, would request you to mark the post as “Solution”. This will help the community to find guidance and answers to similar question. Thank you!

Thank you @sagmukhe for the detailed steps.

@Abhishek11 - you may also see and follow this demo. Hopefully this will give some idea

https://democentral.learnquicksight.online/#Dashboard-FeatureDemo-Free-form-Layout-Conditional-Rendering
Cheers,
Deep

2 Likes

Hi @Abhishek11 @sagmukhe
I would try to do it with one sheet as you can navigate to the same sheet and change a parameter (based on the on/off button) as well.
BR

Thank you very much for the reply, This resolve my queries.