Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello All,
I have been desperately trying to make a legend in bar chart visual since 2 weeks now. As I am working in live connection. A friend already has a solution but unwilling to share.
I have tried alot but going no where. I can't use Bookmarks or page navigation.
I want legend to not display is nothing is selected and display if something is selected.
I have created a workaround on visual display by using is filtered dax and it is somewhat working but with this approach I am facing the issue if tool tip not being displayed on second visual because it is positioned after the first visual at the same spot.
Can I please have a solution?
Regards
Faryal
Solved! Go to Solution.
Hi @FARYAL
You can use a workaround by adding shape and conditional formatting.
Create a Dax measure with the code like :
switch off the border and use the Dax that we created for a fill of the shape
result:
Filtered:
Pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other
members find it more quickly
@Ritaf1983 Thank you for your help it worked in normal circumstances. However, with me the graphs presentation was also different. Like one was wih multiples and other were without.
So to hadle the tool tip issue I actually created a page navigation with corresponding tables and used a information icon to navigate to the page and it worked for me.
I really appreciate your help.
Regards Faryal
Hi @FARYAL
You can use a workaround by adding shape and conditional formatting.
Create a Dax measure with the code like :
switch off the border and use the Dax that we created for a fill of the shape
result:
Filtered:
Pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other
members find it more quickly
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.