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
- 2 Blackbaud Community Help
- High Education Program Advisory Group (HE PAG)
- BBCRM PAG Discussions
- Luminate CRM DC Users Group
- DC Luminate CRM Users Group
- Luminate PAG
- 186 bbcon®
- 1.4K Blackbaud Altru®
- 389 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 14 donorCentrics®
- 355 Blackbaud eTapestry®
- 2.4K Blackbaud Financial Edge NXT®
- 616 Blackbaud Grantmaking™
- 542 Blackbaud Education Management Solutions for Higher Education
- 3.1K Blackbaud Education Management Solutions for K-12 Schools
- 909 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 207 JustGiving® from Blackbaud®
- 6.2K Blackbaud Raiser's Edge NXT®
- 3.5K SKY Developer
- 236 ResearchPoint™
- 116 Blackbaud Tuition Management™
- 160 Organizational Best Practices
- 232 The Tap (Just for Fun)
- 30 Blackbaud Community Challenges
- Blackbaud Consultant’s Community
- 18 PowerUp Challenges
- 3 Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 Raiser's Edge NXT PowerUp Challenge: Events
- 3 Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 Raiser's Edge NXT PowerUp Challenge #1 (Query)
- 71 Blackbaud Community All-Stars Discussions
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 743 Community News
- 2.8K Jobs Board
- Community Help Blogs
- 52 Blackbaud SKY® Reporting Announcements
- Blackbaud Consultant’s Community
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
- Blackbaud Francophone Group
- Blackbaud Community™ Discussions
- Blackbaud Francophone Group