Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

New field & Power Bi Dataset

Posted on by 5

Hello, 

First I apologize if the question  was already asked .

I'm a power bi developer with not a lot of  knowledge in Business central  ,

when I import the dataset from BC  , the custom fields are not in there, I don't understand why and I need to have it  because some of theme are used as primary Key .

Can you please how I can proceed  ? 

thanks a lot for your help

paolo

Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,565 Super User 2024 Season 2 on at
    RE: New field & Power Bi Dataset

    Hi, The data that can be access in Power Bi is the data published in WebService and standard Api page.

    So, If you add new fields, you need to modify these pages, or add new pages, as MahGah said.

    More details: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/webservices/publish-web-service

    pastedimage1641945418391v1.png

    Hope this will also help.

    Thanks.

    ZHU

  • Suggested answer
    MahGah Profile Picture
    MahGah 15,428 on at
    RE: New field & Power Bi Dataset

    Hi 

    This is because those fields were not published in Web Services in BC. Someone in BC need to add them to ODATA. Either publish the page or add a fields to already published ODATA. I sort of put the document below on how add the fields to already published ODATA. 

    Please note custom fields only can add to ODATA if they are accessible or visible in Page (through personalization for example). 

    Go to Web Services page in BC. Then Actions -> New Document -> Create Data Set. Then Edit An Existing Dataset. Note: sometimes they need to create new dataset or copy end edit existing dataset.  

    Then select the page that you have custom fields in it then in the next page check and see if those fields are included or not. if not include and publish. Now you should see them in Power BI 

    pastedimage1641917545831v1.png

    pastedimage1641917614378v2.png

    pastedimage1641917739815v3.png

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans