Forum Discussion
MailChimp API - Expression Error 'field' of the record not found
- Anonymous8 years ago
For now, I modified the query...instead of pulling the Campaign Summary UI endpoint I leveraged the Instance function
= #"MailChimp Instance"("/reports?since_send_time=2014-01-01&count=500")
It gives me the same number of results after I remove the error rows and the rows with "sent_time" = blank
For now, I modified the query...instead of pulling the Campaign Summary UI endpoint I leveraged the Instance function
= #"MailChimp Instance"("/reports?since_send_time=2014-01-01&count=500")
It gives me the same number of results after I remove the error rows and the rows with "sent_time" = blank
I'm experiencing a similar issue with this. It is odd, because the query did worked two weeks ago and stop doing it without any changes on it when I updated the data manually this week. The difference with the OP is that I don't get the error on Power Query editor, but afterwards when updating the data.
The error is the following:
My user interface is set to Spanish, but the message translates to "Error of OLE DB or ODBC: [Expression.Error] The field 'list_stats' was not found on the registry."
I tried the accepted solution, but then I'm unable to run the query. So, this workaround does not seem to be working anymore (at least for my data).
EDIT: I find the solution to my issue and (I think) the one from the OP. This error appears because one or more rows failed to load the record value for the 'list_stats' column, so I just added to my query the following code:
#"Remove errors" = Table.RemoveRowsWithErrors(#"QueryName", {"id"})before the in #"QueryName"
With this your query should run correctly.
- QueryWhiz2 years ago
Post Patron
Hi pvazig I know this reply is very late. Since there’s no built-in connector for Mailchimp to PBI anymore, you will have to look for another way. As a workaround, maybe you can use a 3rd party connector, it can save you a lot of time compared to other options. I've tried windsor.ai, supermetrics and funnel.io. I stayed with windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the Mailchimp connector in the data sources list:
After that, you will have to first create a secret API key in your Mailchimp account and then using your credentials add your account to the platform.
Once you’ve done this, you can proceed and go to the “Preview and destination” step
There just select the fields you need. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url.