'Power BI show/hide slicer based on another slicer value selection

Following the article, I was able to show/hide line charts through applying card measure over line/bar charts visual. It is also required for the project to show/hide other slicers based on primary slicer value. please see attached image

The interaction with slicer's Dropdown icon is not possible once applying card measure over the secondary slicers. Is there any way through DAX or other workaround to send the transparent card back to original visual (slicer in this case) for interaction? Thanks so much.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source