web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Microsoft Power BI Report Setup Error Dynamics.Nav.Runtime.NavFieldRef

(1) ShareShare
ReportReport
Posted on by 50
Hello,
 
I recently completed a cloud migration from version 19 to 25.2 and when I try to run the assisted setup for the Power Bi reports from Microsoft I get this error Microsoft.Dynamics.Nav.Runtime.NavFieldRef variable not initialized.
. This does not occur for the default My Company that is created when the environment is spin up. I have completed this same process for another client who migrated from BC 16 to 25.1 SaaS. Is this a bug or any idea what to try? 

I tried debugging it but VS Code pull up the Setup Helper codeunit and it was blank. See screenshot below.
 


I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,739 Super User 2025 Season 2 on at
    It looks like a FieldRef issue, which should be a standard issue, but I suspect that you can only contact Microsoft to solve it, as the standard code on the Power BI part cannot be extended.
     
    Hopefully other experts can give you better advice.
     
    Thanks.
    ZHU
  • Adrián Martón Profile Picture
    8 on at
    Hello everyone!
     
    Here is what worked for me to resolve it:
     
    I ran into this error right after installing new Power BI reports in Business Central. Upon investigating, I discovered that the issue was with the Power BI connector setup. Even though I filled in the configuration table with the required information, the data was not being saved correctly. If I exited and re-entered, the information would disappear.
    Here is what I did to fix it:
    1. Opened the "Power BI Connector Setup" page.
    2. Most importantly: clicked the "+" (New record) button that appears on the same page. This step is crucial because, without clicking that button, the data is not saved.
    3. Filled in the table with the necessary data.
    After doing this, I verified that the data remained in the table upon closing and reopening the page. Additionally, I was able to open Power BI reports from Business Central without encountering the error again.
     
    This is a bug from Microsoft that needs to be fixed.
     
    So if you are facing this same problem, make sure you click the "+" button after filling in the data on the setup page. I hope this helps!
     
    Thanks.
    AMG

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans