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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Elbartje1
Frequent Visitor

Direct query update stops

Hello all,

 

I have a direct query connected to an oracle database.

When I publish my report to PowerBi online (gateway is setup correctly) all works perfect.

But after x amount of time (1 hour - 6 days) no fixed time or I don't know what is triggering this, the query does not add new records to the data. If I change excisting records in the database I can still see the changes in the report but newly added records are not showing. I get no error messages.

 

If I republish the report all works well again, for a while...

 

I did multiple tests, different reports, combine import data + direct query data, only direct query data, very simple query, nothing seems to work.

 

I hope someone can point me in the right direction!

 

Bart

1 ACCEPTED SOLUTION

Any date range filters in the filter pane?

View solution in original post

6 REPLIES 6
Elbartje1
Frequent Visitor

Problem is solved, the localtime function was causing a strange behaviour.

lbendlin
Super User
Super User

sounds like your data model also includes tables that are fed by import mode queries ?

No, I have the problem when I connect my model to only one table in direct query mode (this was also my first thought what could be causing this).

Any date range filters in the filter pane?

Yes I have (forgot about it) I will test without the filter.

 

The filter uses the function DateTime.LocalNow() to only get the records from the past 40 days untill now. Maybe there is somthing wrong with the 'untill now' part.

 

It will take a few days, before I know it keeps working, I will keep you posted. (Strange thing is somthimes it even stopped on the same day).

There may be some caching going on too.  Usually with Direct Query you want to keep the transforms at a minimum, or at least guarantee that they fold completely.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.