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...
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,672 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,111 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
    95,729 Super User 2025 Season 2 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,672 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

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