Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Niki
Helper III
Helper III

hyperlink from data in text box

Good morning, 

 

I have created a report and working with bookmarks to go from a page with 'overall' info to a page with more details.

So the report is about different projects and when clicking through, towards 'the end' the user is on a page with all kinds of detailed info about 1 project. Most of the projects have a external website as well, this I would like to show in a textbox with the possibility to click through to the website. I know I can just make a text like ' Click here to visit website' and put the hyperlink of the website behind the 'here' for example. But then I need to type of paste the hyperlink in there, but it should be pulled from the data and depending on the selected project. In my data I have a table with column A = Projectnr and column B = hyperlink (already formatted as web URL) Is it possible to do what I want?

- Next question would be, what to do when multiple projects are selected? (Or is it possible in powerBI to obligate 1 selection? Because now I can always use ctrl and select multiple items)

Not every project has a webpage, so is there also  a possibility to hide the box shen there is no data in column B?

 

for me it is not neccessairy the box is a textbox, it may also be a button or an image.

 

Hope some one can help me out.

 

Thanks!

1 REPLY 1
v-yuezhe-msft
Employee
Employee

@Niki,

Firstly, based on my test, it is possible to display hyperlink with text in textbox/button/image and dynamically display the value based on slicer selection. To work around this issue, you can create a table visual instead. And you can turn the URL icon ON and change the column displayed name to “Click here to web”.
1.PNG

 

Secondly, it is not possible to force “Single Select” in slicer, as you said, we can use Ctrl to select multiple items.


Thirdly, based on my research, it is not possible to hide the visual as you describe. We can add a new column to work around.

Column = IF(Table1[hyperlink]=BLANK(), "no content", Table1[hyperlink])

2.PNG

For more information, please check the pbix as attached.



Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.