March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I'm loading data from a on-premise Gupta database using ODBC with DataFlow Gen2
It's working fine until I try to make it an incremental refresh using the last date from the already loaded table.
I'm extracting the data from the warehouse with:
This seems to be working fine.
I'm using a native query and I use the output of the first query as a value (VW_INCR_DATE) in the sql native query
In the dataflow (when editing) it seems to be working. The results are showing correct.
But the issue shows up when the dataflow runs.
I don't understand this issue. Is anyone able to help me with this issue?
Solved! Go to Solution.
The VW_INCR_DATE value is coming from the warehouse and is the last date for which the data is already loaded. That is not from the source.
I found the solution. The query which extracts the Date value from the warehouse should have "enable staging" false to get it working. Not sure why though :).
I found the solution. The query which extracts the Date value from the warehouse should have "enable staging" false to get it working. Not sure why though :).
Thanks a lot.
It was really giving me a hard time. Can't believe it was simply turning off "Enable Staging".
Hi @SnoekL
Dosen't look like implemented refresh is implemented the right way. Please refer to this
https://learn.microsoft.com/en-us/power-bi/connect-data/incremental-refresh-overview
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
aj1973, the topic you are referring to is actually the one I used to build my incremental refresh.
Big difference though is that the example has sql database as a source where I'm connecting via odbc to a local database.
And the example has a datekey in the source which is a integer where my source only has a datetime field to use to get the incremental data.
I tried to convert the source data to different datatypes but than I get different errors as well. So i'm stuck at the moment.
When connecting to ODBC
Add a SQL statement to convert/cast this part
to Date before loading into Power Query Online.
Power Query couldn't accept to add a step to Format that column so try with SQL statement, it should work.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
The VW_INCR_DATE value is coming from the warehouse and is the last date for which the data is already loaded. That is not from the source.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
40 | |
26 | |
17 | |
11 | |
10 |
User | Count |
---|---|
57 | |
52 | |
23 | |
13 | |
11 |