Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi All,
Need your help on the below scenario. i have a report page with slicer and visuals as show below
when i select oee in the slicer only the left hand side visual with target show be shown and the other visual on right sideshow be hidden and for the other selections in the slicer the right hand side visual without targets should be shown and the left side visual should be hidden.
i could able to do it with buttons and bookmarks but with slicer iam not able to.
could someone of you please help me on this.
Regards
Anitha.
Solved! Go to Solution.
Hi @anithaMallam ,
Create 2 measures similarly as below:
Measure = IF("OEE" in FILTERS('Table (2)'[Selection]),SUM('Table'[Target]),BLANK())
Measure 2 = IF("OEE" in FILTERS('Table (2)'[Selection]),BLANK(),SUM('Table'[Other]))
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my raeply as a solution!
Hi @anithaMallam ,
Create 2 measures similarly as below:
Measure = IF("OEE" in FILTERS('Table (2)'[Selection]),SUM('Table'[Target]),BLANK())
Measure 2 = IF("OEE" in FILTERS('Table (2)'[Selection]),BLANK(),SUM('Table'[Other]))
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my raeply as a solution!
Hey @anithaMallam ,
I still think Bookmarks would be the better option.
However, if you want to avoid that, you can put a shape above the visual that you want to show or hide. Then you have to create a measure for the color of the shape. If you want to hide visual, the shape should have the color "#FFFFFF" what is simple white. If you want to show the visual underneath the visual the shape should get the color "#FFFFFF00" what is transparent.
This logic you have to build into a measure.
That's also the only approach that I know that would work with a slicer.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
103 | |
63 | |
44 | |
37 | |
35 |