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
Anonymous
Not applicable

Dynamic Web URL Link upon User Slicer Selection

Hi @Anonymous ,

 

I am trying to have a dynamic button redirecting to a web link which varies upon the user slicer selection. Could you help? 

 

Many thanks,

 

Astrid.

1 ACCEPTED SOLUTION

Hi @Anonymous ,

There is one more thing, you need to set type in measures:

Migasuke_0-1629464577052.png

 



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Thanks for replying, Migasuke. This is still not working, here is what I am trying to do in more details:

 

I want the user to select either the "English" or "Mandarin" language, as shown below:
 
AstKgn_0-1629459782445.png

 

And then have a button that redirect the user to the correct web link, in English or Mandarin language. So I have affected a value to each language, "English"=1 and "Mandarin"=2 in my table with two columns. And then I have created this measure below:

 

URL = IF(Guidance_SEL[Value]=1), "XXXX.com","YYYY.com").

 

But this is still not working...

Hi @Anonymous ,

There is one more thing, you need to set type in measures:

Migasuke_0-1629464577052.png

 



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

Anonymous
Not applicable

Hi @Migasuke, Brilliant it's working now thanks a lot!

Migasuke
Super User
Super User

Hi @Anonymous ,

This is quite simple to do.
1. Do a measure, which reflects your slicers and return you the URL.
Something like Measure = SelectedValue('Table'[WebUrlColumn])
2. Create a Button, where you select action for Web URL, go to fx options and select your created measure:

Migasuke_0-1629458601890.png



In case you would struggle, let me know.



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

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.