Forum Discussion

kishore7rk's avatar
kishore7rk
Frequent Visitor
1 year ago
Solved

Encrypt the Query String Parameter value in the Power BI URL

In my scenario, I need to navigate to a Power BI report from other Power BI Report, there I can make use Link/Button with Web URL option and can set this URL.  But while passing any values for a parm...
  • v-kpoloju-msft's avatar
    1 year ago

    Hi kishore7rk,

     

    Thank you for reaching out to the Microsoft Fabric Community Forum.

     

    We really apologies for the inconvenience, after reviewing the issue of encrypt the query string parameter value in the power bi url, here are few steps to may resolve the issue.

    Power bi does not natively support encrypting query string parameters in url’s. However, you can implement encryption using a custom approach.

     

    • You can implement custom encryption and decryption logic using power bi's power query language or dax. Encrypt the parameter values before passing them in the url and decrypt them within the report.
    • For instance, apply a simple encryption algorithm in power query to secure the values and a corresponding decryption algorithm in the target report to decode them.
    • Instead of directly passing sensitive data in the url, utilize a secure web service for encryption and decryption.
    • The url can include a token or identifier that the web service uses to securely retrieve the actual parameter values securely.
    • If embedding power bi reports in a web application, manage the encryption and decryption within the application code.
    • The application can generate secure url’s with encrypted parameters and decrypt them before rendering the report.

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


    Thank you.