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

error when synchronizing data to power bi

(3) ShareShare
ReportReport
Posted on by 14
Hi! 

I want to connect my production company to power bi financial report. 
But the connection fails due to the following error: 
 
Data source error: Column '<oii>Entry No.</oii>' in Table '<oii>G/L Entries</oii>' contains a duplicate value '122154' and this is not allowed for columns on the one side of a many-to-one relationship or for columns that are used as the primary key of a table. Table: G/L Entries.

But when I check in the database, I can find only one entry with the entry no. 122154 in G/L Entries... 


Thank you for your help!

Best
I have the same question (0)
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,448 Super User 2025 Season 2 on at
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,639 Super User 2025 Season 2 on at
    Hello,
     
    To resolve the error when connecting Business Central to Power BI, ensure there are no hidden duplicates in the Entry No. column of the G/L Entries table by running a query to check for duplicates.
     
    Verify that the relationships in Power BI are correctly set up, refresh the data source, clear the cache, and check for any data integrity issues in your Business Central database.
     
    Using Power BI Desktop can also provide more detailed error messages and debugging options.
     
     
  • Suggested answer
    Noha Mbi Profile Picture
    317 on at
    Hello dear, 
    Have a nice day, I have encountered this error before and this was the solution, (indenting the chart of account properly so the (totaling) field will be distributed right)
     
    Hope this help,
    Regards
    Noha - MS Certified BC Developer

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,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans