The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
In some of my dashboards, I am reading from a database table and returning a large character value or large binary value (i.e VARCHAR(MAX) or VARBINARY(MAX)). I would like to return an icon in place of that value, so that the reader could click the icon if they wanted to see the output of that column. Has anyone done this in Power BI?
Examples:
Hi @Anonymous
To my knowledge, there is no such feature in Power BI currently. The closest thing I think of is report tooltip pages and hyperlinks in table/matrix visuals.
You could add a column e.g. Keywords or Descriptions to describe the large character value or large binary value in your data source table and bring it into Power BI too. Then create a report tooltip page. On this tooltip page, put the large character value into a visual (e.g. Card visual) and hide this tooltip page. In your dashboard page, add Keywords column into a visual and use this custom tooltip page to replace its default tooltip. When you hover over a keyword, it will display the pop-up tooltip and show what you have set up there.
Another option of tooltip is the new preview feature modern visual tooltips. With this preview feature, you could combine tooltip and drillthrough feature. Create a drillthrough page and put the large character value there. When you hover over the keyword, click Drill through on the tooltip and drill through to the destination page to view the details.
In addition, Power BI Desktop doesn't support binary data type currently. You need to transform data type for binary values in advance. Maybe you need to export these binary values into files and store them in some cloud platform, then use hyperlinks to access them. Perhaps there are better methods to deal with large binary values but I missed them.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
I tried out the tooltip, and I'm having two issues.
Is there a way I could place a button or a hyperlink in a table cell and use that to open the other tab? That would work for me.
You have multiple options. You can create a hyperlink that doesn't actually link anywhere and contains the query plan string instead. You could use SVG to construct whatever graphical representation you may want. You could use page links or drillthrough features. Really depends on what your ultimate goal is. If your ultimate goal is an extract then Power BI may not even be the right hammer for your nail.
I think I'll drop this for now. It's not a requirement for what I'm working on so I can't spend a lot of time on it. Thanks for the ideas.
I like this idea. The main point to provide a means to view the content in a separate screen, so that the main screen is not cluttered. I'll work on this and let everyone know how it turns out.
Would a link (url) work too? it comes with free icon.
It might. I'll try this as well as the "tooltip" solution provided by v-jingzhang and see which I like better. Thanks.