Forum Discussion
Anonymous
5 years agoNot applicable
Showing visual only when slicer selected
Hi everyone, I have a visual that I want to display data only when the user selects a category from a slicer. If nothing is selected from the slicer, I just want a blank space. I found this post,...
- 5 years ago
Hi Anonymous ,
I tried the following measure for transparency at my end without SWITCH statement and it works for me:
Make Transparent =IF(ISFILTERED(ClothingSales[Category]),"#FFFFFF00","#FFFFFF")Try this and see if it works.Also, in your measure, you are missing "#" from 2nd condition. You are just using "FFFFFF". It should be "#FFFFFF'.Thanks,Pragati - 5 years ago
Hi Anonymous ,
I wrote a blog sometime back on similar functionality. Can you check once if you are following all these similar steps:
If still it doesn't work, then share your pbix file by removing any sensitive information from it.
Also I am wondering; if this was not working then why was the solution accepted. 🙂
Thanks,
Pragati
Anonymous
2 years agoNot applicable
Hi Pragati11 ,
Thank you very much for your inputs. Your given solution solved my problem. I appreciate your help.
Pragati11
Super User
2 years agoHI Anonymous ,
If the solution helped and solved your issue, don't forget to mark my response as a solution.
This may just help someone else in the future on the forum. 🙂