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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

G/L journal entries - Power BI

(0) ShareShare
ReportReport
Posted on by 35

In my default general journal, I make use of the "Reason Code" field.

If I review the general ledger entries for an account, I can see the Reason Code there too (through personalization). 

I want to use this field in Power BI, but the fields available for the table General Ledger Entries, do not include this field. I tried to use the table 'Journal Lines', but power BI won't load the table. 

Any suggestions?

I have the same question (0)
  • Suggested answer
    Steven Renders Profile Picture
    5,692 Moderator on at

    Create an extension (app) and add query apis that expose the data you need in Power BI.

  • Suggested answer
    tanya07 Profile Picture
    1,638 on at

    Hi,

    Are you consuming Odata webservices from the system ?

    Regards,

    Tanya Kharbanda

    Don't forget to help the community by verifying the answer if your question has been answered. It will let others know that the topic has a verified answer.

  • Hilda Steyn Profile Picture
    35 on at

    I honestly have no idea. I am new to both Business Central and Power BI. I simply added BC as a source of data in PBI.

  • Hilda Steyn Profile Picture
    35 on at

    I will have to google real hard to get instructions for all of that. I am new to Business Central and to Power BI. If you have any articles or blogs you can recommend, please do.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    If you navigate to Web service legacy and chose G_L Entries under there you will have a dataset that included reason code.

    pastedimage1684091586627v1.png

  • Suggested answer
    YUN ZHU Profile Picture
    99,559 Super User 2026 Season 1 on at

    Hi, just to add some info.

    Inge's solution is to use Odata in Web Service, which is relatively simple, and this solution is recommended.
    If you are looking for it in APIs, because APIs are not extensible so far, you have to re-customize.

    More details: Can we extend standard APIs? – Download Standard Source Code for APIs
    https://yzhums.com/20960/

    Hope this helps as well.

    Thanks.

    ZHU

  • Suggested answer
    Steven Renders Profile Picture
    5,692 Moderator on at

    I'm sorry to say, but, web services can also not be extended, and are not recommended over APIs.

    APIs are, in theory, faster. Both APIs and web services CAN NOT be extended, so if you are missing fields you will need to develop new APIs / web services.

    Also, web Services are indicated as legacy, so that means, at some point in the future, they will be obseleted...

  • Hilda Steyn Profile Picture
    35 on at

    Thank you. I found this before I got your answer. I just hope they don't delete that table any time soon.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,028 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,121 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 669 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans