Forum Discussion

Aks8093's avatar
Aks8093
Frequent Visitor
1 year ago
Solved

How to link Data sources credentials linked dynamically to Power Bi?

Hi,

 

Do you have any suggestions for making Data sources credentials linked dynamically to Power Bi?

i.e. instead of hardcoding the Servers and Ports, is there any way to connect through any single source to Multiple .pbix files?

 

Example:- Suppose I have 10 Power Bi reports, incase the Data source server gets changed, I need to change in each and every report individually. Is there any better way to do it?

  • You can place these details on a SharePoint and then read them as part of the Power Query steps. However you will get into conflict with the Formula Firewall which exists exactly to prevent things like this.

15 Replies

  • You can place these details on a SharePoint and then read them as part of the Power Query steps. However you will get into conflict with the Formula Firewall which exists exactly to prevent things like this.

    • Aks8093's avatar
      Aks8093
      Frequent Visitor

      So that means even though I pass the credentials as a parameter, it's not possible to get through the Firewall.

      • lbendlin's avatar
        lbendlin
        Icon for Super User rankSuper User

        It's possible but not advisable. You would have to set all privacy levels to ignore.

    • Aks8093's avatar
      Aks8093
      Frequent Visitor

      I agree to your point, however post publishing it to services it won't allow to Scheduled refresh. Any suggestions on that?

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Aks8093 ,

    If your reports are similar in content, perhaps you might consider using a .pbit file, which will template your reports for use whenever you connect to different data sources.

    Create and use report templates in Power BI Desktop - Power BI | Microsoft Learn

     

    Hope it helps!

     

    Best regards,
    Community Support Team_ Scott Chang

     

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

    • Aks8093's avatar
      Aks8093
      Frequent Visitor

      Thank you for your valuable insight, however this is not what I was looking for.