Hi everyone,
I'm running into an error that has me stumped. Before I describe the error, I'd like to briefly explain my setup. I have a web api in a C# app that populates data in an SQL CLR view. Then, that view is a data source for a power BI dataflow. So, C# => SQL => Power BI. The exception is thrown in the C# code, but only when queried by Power BI, and not when I query the SQL view in SSMS so I'm convinced the problem is here somewhere.
The error code in particular is this:
This error is thrown when refreshing a large dataflow, and it's thrown twice. If I ignore the error it seems that the dataflow refreshes just fine. I say "large" because this error doesn't happen, so far, with entities that have less data than the max amount of data allowed in a dataflow preview. In other words, it doesn't happen in dataflows that don't have the below message after refresh in the "Edit Entity" preview screen:
Lastly, this error is only thrown if I refresh in this "Edit Entity" preview screen, so when the screen loads or if I hit its own refresh button.
So if I refresh with the normal refresh button, the error doesn't throw and the refresh finishes successfully. AKA the refresh button below works fine.
I'm stumped. Any suggestions or additional information would be appreciated.
Thank you,
Anthony