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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
KasperJ90
Helper III
Helper III

Update data from Navision everytime PowerBi opens

Hi


I have made a report from two tables in our Navision system. The tables are linked in PowerBI Desktop via Odata. I have shared this workcenter with some colleges, but when they open the report in PowerBi the data is not updated. Even when they press "refresh" is still does not update. We change the data daily, so I would need the report to be updated when opened and when it is "refreshed". How can I do that?

8 REPLIES 8
Anonymous
Not applicable

Hi @KasperJ90,
I checked the document but not found anyone methods to enable direct query mode on odata connector. 

Perhaps you can try to design a custom data connector to handle odata source and enabled directquery on it.
Below is a link of using odbc customer connector with directquery mode:

Enabling direct query for a data source via an odbc driver 

Regards,

Xiaoxin Sheng

lbendlin
Super User
Super User

You can only do that if your data source supports direct query mode or live connection mode. 

If your data source only supports import mode then you need to increase the dataset refresh schedule, or use API based refresh that can be controlled by updates in your data source.

Thank you for your response.
How do I know if my data source supports direct query mode? I have linked PowerBi Desktop to 2 public queries in Navision and made my report with data from these two queries.

 

How can I get it to update everytime someone open their report or refresh it?

can you show the sanitized Power Query code for how you connect to Navision?

I be happy to do it, but how do I do it?

Right click on the query, Advanced Editor, then copy the Power Query M code and paste it here.  Make sure to mask sensitive data.

Here:

 

    Source = OData.Feed("http://yyyy.yyyy.local:7048/TRIMIT/OData/Company(yyyy)", null, [Implementation="2.0"]),

    PCO_List = Source[PCO_List],

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.