Is automatic Run Time Programmatic Date Selection possible
Hello erudite colleagues,
I am trying to automate some queries for a reporting task I have been given and I need the queries to be dynamic as in I want to supply dates INTO the query at run time programmatically, so I can run a bunch of them and harvest the resulting data. I don't want to use the ASK syntax as I want the dates to be computed at run time based on the date of the query being run. Is this possible using SKY API and Power Automate wizardry perhaps or will I be better off extracting out the data into my Azure Data Warehouse and doing some good old fashioned SQL Server queries to get the info I am after ?
Any wisdom gratefully received.
Regards, Jenni in Canberra Asuatralia
Answers
-
Hi Jenni,
Assuming this is for RENXT/FENXT this is possible. You can create the queries in RENXT/FENXT and then use Power Automate to run the queries. Or you can use Power Automate to build an ad-hoc query with your set parameters.
Here are some sample templates from our Showcase:
Get Query Results (takes results of query and saves to OneDrive or Google Drive)Get Multiple Query results with Query Connector & SharePoint List (uses a List of Query IDs to run multiple queries at once and saves output to Sharepoint)
Ad-hoc Query API for NVA and RNE (good example of how to run an ad-hoc query. Example saves data into Azure data warehouse table)
Let us know how the project goes!Erik
0 -
@Jenni Atkinson As Erik has pointed out, you can run Ad-hoc query (which allows you to dynamically "create" a query definition in JSON to run and get results.
However, depending on what kind of reports you are trying to create from the queried data, you may need to use a combination of query (or multiple queries) or direct SKY API list endpoint to handle various one-to-many properties. (i.e. one gift has multiple gift splits for campaign/fund/appeal/package information). You will get duplicates rows for every one-to-many relationship, so depending on the results you want to get for the report, you may need to do some manipulation within power automate.
0 -
Thanks Alex - wise advice !
0 -
Thanks Erik !
0
Categories
- All Categories
- 6 Blackbaud Agents for Good™
- Raiser's Edge NXT test
- 6 Blackbaud Community Help
- 212 bbcon®
- 1.4K Blackbaud Altru®
- 406 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.2K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 16 donorCentrics®
- 361 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 667 Blackbaud Grantmaking™
- 588 Blackbaud Education Management Solutions for Higher Education
- 3.3K Blackbaud Education Management Solutions for K-12 Schools
- 949 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 85 JustGiving® from Blackbaud®
- 6.8K Blackbaud Raiser's Edge NXT®
- 3.8K SKY Developer
- 251 ResearchPoint™
- 121 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 243 Member Lounge (Just for Fun)
- 38 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Closed) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) 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
- 809 Community News
- 3K Jobs Board
- 57 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)

