Forum Discussion
Increment Refresh Clarifications
- 5 years ago
Yeah, sorry GK600 - I understand. That is how it goes with self service projects. If you can get the system to export in to Excel format or CSV format, you can get things working, but there will be no incremental refresh on those either, the point of your original post.
If you have any problems going forward, start a new thread and we will jump in and help. In the mean time, please mark one or more of these posts as the solution so this thread can be marked as solved - even though not solved in the way you were hoping. 😉
Incremental Refresh requires query folding. Web APIs do not count. You would need an ODATA feed, or a true database like CDS, SQL Server, Azure SQL, Oracle, etc. And as you've discovered, if View Native Query is greyed out, you cannot do it. (There are very rare cases where that is not correct - greyed out and it still folds, but those are edge cases with SQL Server/Oracle, etc. and you can use your database profiling tool to see that even though the PQ UI thinks folding has broken, it is really continuing. This is only for a few command. Retrieving top rows I believe will cause this glitch to manifest)
It requires query folding because the service partitions your data and will generate a different SQL statement for each one - so the current refresh data goes in one partition with one set of data, and the old stuff goes in another partition, then the service will move data between those as they age out of the "current" dataset.
- edhans5 years agoCommunity Champion
Hi GK600 do you have your answer? If not, post back and we'll try to help. If you do, can you mark the answer as such so we know this thread is done and other's searching will see the answer as well?
- GK6005 years agoHelper II
Hi edhans ,
Apologies for delay in repsonse.
We dont have sql server etc. available at this time. Ideally, I need to be using API but thats taking huge time for simple transformations. It connects to API everytime I need to look at lets say values in a column.
So, I started to explore importing and loading excel files (20-25 of them) which I will need to maintain manually. I checked at a high level and load time is about 5-10 minutes for 80% of data I could get easily so far. The files will reside on onedrive in that case. But sadly, I will need to maintain reporting manually every month and not real-time data. But I think thats best as of now.
What do you think? Do you suggest an alternative or think that's the right thing to do at this stage.
Thanks once again.
regards,
Gaurav
- edhans5 years agoCommunity Champion
That certianly doesn't sound ideal GK600 but sometimes you have to go with what works to get a project moving. I would still try to figure out if there is a better way to get the data from the source. If the API doesn't work, could CSV files be dumped, or even get access to the source server behind the API. Don't know if you are accessing corporate data serving up the web API, or a 3rd party app, in which case they will not give you that kind of access.
- GK6005 years agoHelper II
Thansk for your response. Appreciated.
I will check about query folding from API supplier just in case. I may also need to explore other database etc. which I dont have much visibility on. Is it usually available wthin organizations? I will be checking with IT team and if they feel comfortable about providing access. They last told me that we have E5 license. Not sure if that grants some sort of database access.
By the way, is there a way I can smoothen the process with POwer BI as of now to transform and build reports. It loads everytime I click close and apply. That takes about 1.5 hours. I thought that the data is already pulled and there must be a way to store differently to not allow PQ to connect to API every time I make small transformation within it.
Any pointer will be appreciated.
Gaurav
- v-yingjl5 years agoCommunity Support
Hi GK600 ,
If you want to create and connect databaselike Azure SQL etc, you need access/subscription from your organazation; if you want to connect to sql server, you can try an instance from here.
"is there a way I can smoothen the process with POwer BI as of now to transform and build reports"
If the connection mode is import or direct query, it is inevitable to use power query to transform data because it needs to create a data model in power bi; if the connection mode in Connect Live, although it will not use power query, it will have many limitations under this mode. You can refer to this document and choose the connection mode according to actual needs
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.