Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello guys,
I am looking for a way to add a context menu to my visual. Currently my visuals display a graph with nodes and edges. My visual is based on the Force-Directed Graph.
I want a context menu to show up after the user "right clicks" on a node, in that context menu the user is able to select some other functions.
Let's say my current graph represents a group of animals, so when "right clicking" on an elephant-node for example, a context menu shows up in that the user can enter the wikipedia site of an elephant to get more information, or some other function.
I thought to change the tooltip, but maybe there is a better way to do it. And I am not sure if the user is able to interact with the tooltip.
I hope you understand what my goal is.
Best regards!
Hi,
That's a good idea.
I will try this out.
Thank you !
Best regards
Hey,
Unfortunately this soulution is not working the way I wanted.
Does anyone know if it is even possible to add contextmenus into a power bi visual?
I worked with some tutorials that explain contextmenus for regular javascript, but none of them is working.
I hope you guys can help me .
Best regards!
Hi @n0gare,
Can you clearly describe what you are trying to achieve ?
Let's assume that you have a stacked bar chart for Product Sales as per the image below. What do you want the chart to do ?
Hi djnww,
Let's assume chairs, coffee and books are our products, that we visualize.
So by the look at the visual the user gets a rough overview about the products. but to get further, more specific information, the user can open a contextmenu (with a right click on the object) with links/url to the web.
The link/url for each product would be provided form the (Excel) table, that is used to create the visualization.
As I was looking for help, I found some examples of how I want it to look like. But the approach that was used there is not working.
To add a context menu like in the image below, would be great.
Best regards!
Hey Sam,
I tried to add a ContextMenu for quite some time and the only thing I was able to do is to add the basic html contextMenu. The funny thing is that it only worked in a web browser.
Well anyway thank you for your suggestions, I am currentyl thinking about my next step.
Best reagards
n0gare
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
3 |