Forum Discussion

fahadkhan's avatar
fahadkhan
Frequent Visitor
1 year ago
Solved

Using Button Slicers as navigation to website links.

Hi everyone, 

 

so my use case is very simple. I have a button slicer on the page and i want to use this as navigation to external pages of lets sy in our case to most popular websites. 

 

at the back end I have a table called websites, with website name and URL to navigate to. 

 

how do i achieve that?

 

  • I was able to recreate this by using a Table and designing it as a menu. Yes there is no other way. 

     

     

6 Replies

  • Hi fahadkhan ;
    I'm not sure if there is a straght way to open the webpage by dicretly clicking the item on Button Slicer. However, i would add a blank button to perform as an 'open' action to redirect users to the webpage. This would be a simpler workaround. You would only need to use a 'SELECTEDVALUE' calcualted measure like: 

     

    SelectedWeb = SELECTEDVALUE(Table[WebsiteURL], BLANK())

     

    After users made their selections they can click 'GO' to open the webpage. For the Action setting on 'GO' button, use the Web as its type and the above calcualted measure as 'fx'. 

     

    Thanks and please let me know if there are better solutions:) 

    Mason

  • Hi fahadkhan 

     

    It is currently not possible to add an action to a slicer button. Alternatives:

    URL conditional formatting on tables/matrices

    Shapes linked to a webpage

    DAX-generated SVG images that look like buttons to be used on a table or matrix with URL conditional formatting. I use AI for that.

  • v-sdhruv's avatar
    v-sdhruv
    Community Support

    Hi fahadkhan ,

    Currently theres no way to provide navigation to URLs vis slicers as rightly pointed out by danextian.
    However, you can use buttons to navigate seperately to its respective URLs as described by MasonMA .

    1.Insert button

    2. In Action, chose Web Url

    https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-buttons?tabs=powerbi-desktop

    Hope this helps!
    If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank You!

     

    • fahadkhan's avatar
      fahadkhan
      Frequent Visitor

      I was able to recreate this by using a Table and designing it as a menu. Yes there is no other way. 

       

       

  • v-sdhruv's avatar
    v-sdhruv
    Community Support

    Hi fahadkhan ,
    Just wanted to check if you had the opportunity to review the suggestions provided?
    If the response has addressed your query, please accept it as a solution so other members can easily find it.
    Thank You