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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 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.

Users online (3,559)