Power BI error - The import Blackbaud.Contents matches no exports. Did you miss a module reference?
I'm new to using the Power BI connector, and have a question about this error I'm encountering.

The error only occurs when when any of the table references on lines 574-597, the ones below the note on line 572 which reads “Categories that require individual calls per parent id - uncomment below to display in the data connector.”

Uncommenting categories above that point in the code works as expected, but uncommenting categories below that point results in the error shown above when refreshing an existing .pbix file. It also results in the Blackbaud (Beta) connector disappearing completely in the Get Data interface.
Is any additional configuration necessary when these categories are enabled, or is something else going wrong here?
Comments
-
Hey @Jason Samuels,
All of those are connectors to single call API endpoints. They can't fetch data in a paginated form like the other endpoints. If you want to use them, you'd need to write some custom M in your Power BI to pass in the required parameter to make the API call work. For example, this line gets the prospect status for each constituent (I know this is hard to see, but it's line 583ish on the source code)
The prospect endpoint is https://api.sky.blackbaud.com/constituent/v1/constituents/{constituent_id}/prospectstatus
So you'd need to write a function that takes a list of constituent ID's and passes it into this endpoint and returns it as a table.Hope that helps!
1 -
@Matt Thacker thank you for the clarification. I'm still not understanding how I'd get to the point of writing that custom M script to make the API calls work when the Blackbaud (Beta) connector disappears from the list of connectors in the Get Data interface after uncommenting any of these categories.
But this is also the point where I need to step back and acknowledge that the value we'd get from including these categories doesn't quite match up with the effort it would likely take to ramp up my technical skill with these tools to the point where I can implement it. Or in other words, the juice isn't worth the squeeze for me here. I really appreciate your response and hope this post helps provide clarity for others.
1 -
@Matt Thacker
Hi Matt,We now do need to be able to use some of those endpoints. However we can't read the image you provided earlier. Using some of the examples in the PQ file, we tried to add the Name Format Summary endpoint. The error occurs in creating the expansion field which is generated by calling the LoadTableForSingleRec function in power query with the api endpoint. We've modeled it like similar apis in the file for aliases or assigned fundraisers, but they do not seem to work either. Any thoughts?
I added these three items to the pq file:
- Register into the tables list/folders: {"Name Format Summary", ConstituentListType, urlConstitList & "?include_inactive=true&include_deceased=true", branchConstituent, NameFormatLayout, DefaultRecLimit, true},
- Table Layout for API Schema:
NameFormatType = type table [
id = nullable text,
configuration_id = nullable text,
constituent_id = nullable text,
custom_format = nullable logical,
formatted_name = nullable text,
#"type" = nullable text ];
- Layout / Power Query Load Script:
NameFormatLayout = (sourceTable as table) as table =>
let
removeCols = Table.RemoveColumns(sourceTable, List.RemoveItems(Table.ColumnNames(sourceTable), {"id"})),
addNameFormatCol = Table.AddColumn(removeCols, "NameFmt", each LoadTableForSingleRec([id], "constituent/v1/constituents/#{0}/nameformats/summary", NameFormatType), NameFormatType),
result = Table.ExpandRecordColumn(addNameFormatCol, "NameFmt",
{ "configuration_id", "constituent_id", "custom_format", "formatted_name", "type" },
{"configuration_id", "constituent_id", "custom_format", "formatted_name", "Format_type"})
in
result;
0
Categories
- All Categories
- 6 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
- 33 Blackbaud Impact Edge™
- 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™
- 375 YourCause® from Blackbaud®
- 160 Organizational Best Practices
- 232 The Tap (Just for Fun)
- 31 Blackbaud Community Challenges
- Blackbaud Consultant’s Community
- 19 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