Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Andresrsg
Frequent Visitor

ODBC - Incremental refresh - Dataflow

Hi All, 

 

I'm trying to implement incremental refresh in a dataflow, retrieving data from an  ODBC.

I'm following the steps from Guy in A Cube Link , but found myself stuck with errors in the SQL statement I refer to in my Native query.

They use a Datekey integer, but unfortunately my databse only works with DateTime.
If you can give me a tip it would be much appreciated.

 

Source = Odbc.Query("dsn=MYConnection", query),

Andresrsg_0-1628062700327.png

Andresrsg_1-1628062774594.png

@GuyInACube 


Thank you, 

Andres

 

 

3 REPLIES 3
v-angzheng-msft
Community Support
Community Support

hi, @Andresrsg 

 

May I ask if your problem has been solved? Does the information mentioned above help?

If your problem is solved, we will be glad that you can share your solution here.😀

 

 

Best Regards,
Community Support Team _ Zeon Zheng

jeffshieldsdev
Solution Sage
Solution Sage

Shouldn't the date time be wrapped in single quotes?

lbendlin
Super User
Super User

You may want to use Text.Format() rather than DateTime.ToText()

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors