By using this website, you agree to our Terms of Use (click here)
Working in power BI pulling in OData from Acumatica, does anyone ever get this error when trying to pull in or refresh their data set?
"
I would try shrinking the data set to determine whether size is the issue.
Of this 100mb of data, is all of it changing, or is some of it historical?
It could be a timing issue then if you have bigger tables that refresh fine. If you run the query directly in Acumatica and do a full download, does it time out or are you able to download the full dataset?
Another thing you could do to test if it's a dataset size problem is temporarily add something to the CONDITIONS tab on the Generic Inquiry to make the result set really small. Then try the OData refresh again.
So yes, Tim, that does fix the issue of the refresh. Limited it to 1000 lines, and works like a charm. Definitely a size issue. And Royce, I'm afraid to run this thing in Acumatica itself for fear that it'll bog things down/freeze up the system.
Do you guys know anything about looping to get the results you want? Setting up a loop in Power BI to do multiple data pulls to get it all in one table? Count page numbers or lines or something?
I'm not aware of any table row count limit, might be a data size issue. Do you have a lot of columns in each row and perhaps any columns with a lot of data?
For splitting and combining the data, you could try setting up multiple tables in Power BI with different queries per table so that each table retrieves a chunk of the master table and then combine them in Power BI. But as the data grows you'd need to keep adding new chunk tables. You'd need some way to reliable split the data in each query so that no data is left out.
Still seems very odd to me to have to do this.
I've got 25 columns, so nothing insane. Some of them do have formulas, but nothing intense. I think overall I have 4 columns that have formulas, most are just something like: =[SOLine.OrderQty] *(-[SOLine.InvtMult]) (so setting up to handle Credit Memos). Does that drastically increase the load?
Right now what I have done is I have set these up in Power BI desktop, and reduced the row count in my queries to build the actual report, then uploaded to power bi. From there, the refresh has never failed for some reason. Maybe it also has to do with my local machine's capacity? That seems to be working for now, anyway, but I'm waiting for the day when that, too is too big. If it gets to a year, I'll be happy, because at that point I'll just start exporting to CSV and merging tables. Once a year would be manageable.
I think you can do Incremental Refresh in Power BI Dataflows. I haven't tried it personally, but I assume that you'd have to give it a key so it doesn't import the same record multiple times.
If you want to import in batches, same issue with the key, but you could probably come up with some date buckets, then apply the server-side filter using the $filter logic outlined in this post:
https://www.odata.org/blog/acumatica-liberates-erp-with-odata-new/
But if it appears to be working, I suspect that you'll just cross your fingers and wait for it to break. That's probably what I'd do 🙂
