Template that refreshed PowerBI report that contains data from BlackBaud connector
I have a Power BI report that takes data from the BB connector. I can refresh the report within PowerBI just fine. But I've tried, and failed, several times to create a Power Automate Flow that will automatically refresh a Power BI pbix file stored in Azure, using Refresh a Dataset action. Also tried to do this using a button in Power BI to trigger the flow. The flow runs, but the dataset doesn't refresh. Does anyone have a sample or instructions how to do this?
Comments
-
@Mike Pasqua
If you are using the Blackbaud connector (unofficial) for Power BI, then did you create a “gateway”, if not, your published Power BI will only be able to refresh on your local computer. (keep in mind when when you “created” the Blackbaud connector file (.mez), it is saved to your local computer only, it is not available to the Power BI service on the cloud.If you want to avoid creating and using a gateway, you can try using this method: https://community.blackbaud.com/forums/viewtopic/586/70826
2 -
@Mike Pasqua, it sounds like you have not published your Power BI report to the Power BI Service. The Refresh a Dataset action under the Power BI connector in Power Automate is referring to refreshing a semantic model published to the Power BI Service. Once published to the service, you then have the issue Alex mentioned where the custom Power BI Connector has to be installed on a server that also hosts a data gateway. The .mez file and the gateway work together to securely access the data using credentials you save on the gateway. This is detailed on GitHub - blackbaud/powerbi-connector: Blackbaud data connectors for Power Query and Power BI under the ReadMe section “Scheduled refresh in Power BI Service.”
It is worth looking at Alex's link in his last comment: Sharing my Power Automate and Power BI template: Power BI use of Query API via Power Automate.
Alex's method uses Power Automate to leverage SKY Query API to execute and retrieve query results as a flow. Once the Power BI Report is published to Power BI Service, you can set up a refresh schedule that executes the flow(s) to populate the query(ies) in your semantic model.
Perhaps you are avoiding Power BI Service. My guess is you are looking for a work around because you cannot use the “Refresh” option in Power BI Desktop with the custom Power BI connector in when you open the .pbix file from the Azure location. This is because your Azure file location does not have access to your local .mez file for the custom connector. Since Alex's flow doesn't rely on a custom connector, you should be able to hit the “Refresh” icon to execute the flow and return query results. We noticed that the flow executes multiple times when executed from Power BI Desktop, but is more streamlined when executed from Power BI Service. Some weirdness to watch for.
Please let us know how it goes!
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 209 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 359 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 563 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 243 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 779 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)

