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

Get Fabric certified for FREE! Don't miss your chance! Learn more

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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.