Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Power BI Embedded relative url redirection

Hi,

 

    I wan't redirect to a url on link click in in the table. The problem is the url is a relative url. is this possible in power bi embedded.

 

Thanks,

Joe

 

3 Replies

  • Icey's avatar
    Icey
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

     

    I'm not sure.

    However, you can enter the first half of the absolute address, and then create a Measure to concatenate the half and the relative url.

    For example:

     

    URL Measure = MAX('absolute'[absolute]) & MAX('relative'[relative])

     

    If I understand it wrong, please let me know.

     

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks for you reply Icey.

       

      Actually I'm using powerbi embedded. So I want to redirect the user to a particular url in the site. This site may have many different domains. 

       

      example:

      1. http://mycompany1.com

      2. http://mycompany2.com

       

      I give a relative url in the table like '/report/testreport?filter=Table/Column+eq+value'.

       

      So when the user on site #1 click on the link it should redirect the user to 'http://mycompany1.com/report/testreport?filter=Table/Column+eq+value'

       

      when the user on site #2 click on the link it should redirect the user to 'http://mycompany2.com/report/testreport?filter=Table/Column+eq+value'.

       

      Thanks,

      Joe

      • Icey's avatar
        Icey
        Icon for Community Support rankCommunity Support

        Hi Anonymous ,

         

        Sorry to reply late.

        For your question, the answer is No. Power BI doesn't support it.

        I suggest you to try something like so:

         

        1. Enter data.

         

        2. Create a slicer with 'domain'[domain].

         

        3. Create a measure and change the data category to "Web URL".

         

         

        Or, try to use Query Parameters.

         

         

        Best Regards,

        Icey

         

        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.