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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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

Top Kudoed Authors