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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Power BI: How To Filter Ledger Journal Entries Based on Cost Center Financial Dimension?

(0) ShareShare
ReportReport
Posted on by 1,036

Greetings dears!

I have a Power BI report that reads data from D365 FO that shows the ledger journal entries, but I want to display the journal entries for a specific cost centers.

In the transaction line there is a field called "LedgerDimension".

I'm aware of the DimensionCombination entity but i'm not able to filter based on an individual financial dimension (Cost Center).

based on this link, I'm supposed to find a field in the DimensionCombination Entity that have the name of the defined financial dimensions.

So i'm supposed to have a field called "CostCenter", but unfortunately I was not able to find it.

 

How can I create a link between the GeneralJournalEntry.LedgerDimension and cost center dimension?

 

Any advice is appreciated !

Thanks in advance !

I have the same question (0)
  • Suggested answer
    Momochi Profile Picture
    1,036 on at

    I have found the solution to do that and I want to share it with anybody who will face the same requirement :)

    First, I had to do a custom Data entity on the development environment of D365.

    The root of the query for the data entity is the GeneralJournalAccountEntry Table.

    This table contains all the ledger lines and it has a "LedgerDimension" field for the posted trans line.

    Instead of doing a join for all the dimension tables, you will include a "method field" into the data entity, and you do the query to retrieve the dimension you need that is associated with transaction lines for the root table of your query in the code of the method that will be assigned for the method field (Create a method and write down your query to retrieve the dimension value you need based on the ledger dimension of the GeneralJournalAccountEntry table in your root query).

    I found that this is faster in performance then doing table joins on the query itself.

    Give a name to the method field for example in my case, I will name it CostCenter (because I want to use this field to filter transactions based on cost centers).

    Now you can call this data entity on your Power BI and you will have your transactions with the dimension value displayed on it's new column created by you in the method field on the development environment :)

    Hope this will help others too.

  • DHDL Profile Picture
    15 on at

    Do you have an example of your method field with the query included in the method field.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 467 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 420 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans