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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.