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

Finding a relationship between financial dimensions and operating units

(0) ShareShare
ReportReport
Posted on by 5

Hello,
We are moving solutions from AX2012 to D365 and I am trying to recreate the logic for a star schema for a Ledger Cube from the information I had in AX2012.


I managed to recreate the following dimension tables not without problems with some problems related to the fact that now some information (business lines, service center) is linked to Operating Units.


• Company
• Business Line
• GL AccountNumber
• Currency
• vendor
• TransactionPeriod
• Transaction Code
• BusinessLine
• Department
• Service Center
• Project

As for the central table containing the GL transactions, I managed to find links with the following tables which have not changed since AX2012

• GENERALJOURNALACCOUNTENTRY
• GENERALJOURNALENTRY
• DIMENSIONATTRIBUTEVALUATEDCOMBINATION
• MAIN ACCOUNT
• LEDGER
• LEDGERENTRYJOURNAL
• SALEABLE

However, I'm having trouble linking dimensions from Operating Unit? I'm trying to find a table that I could relate to my query that builds the fact table but I can't find a relationship. Could someone have a solution? Or maybe a place where I could find the relationships between the various tables,

Thanks

I have the same question (0)
  • WillWU Profile Picture
    22,363 on at

    Please wait for the help from functional consultants.

  • André Arnaud de Calavon Profile Picture
    301,194 Super User 2025 Season 2 on at

    Hi JF,

    I'm not sure which exact tables you have in your query and what exact table or relation you are looking for. Probably you are looking for the table DimensionAttribute which is use to setup an Operating unit as a dimension. 

  • JF_Landry Profile Picture
    5 on at

    Sorry for the late response.

    As I explained above I was trying to recreate a star schema for a General Ledger data cube with the usual dimensions such as company, business unit, Date...etc and a fact table making the relationship with all these same dimensions. The central fact table brought back the transactions from the general ledger by joining the tables mentioned above.

    The only clue I was missing was a table to establish the relationship between the dimensions and the fact table and I found it with the dbo.DIMENSIONATTRIBUTEVALUECOMBINATION table.

    The table represents the ID and Value of the dimensions so I was able to add it to my query to make the relationship in my fact table.

    Is there a tool, a plan, a data schema allowing to see the tables of the D365 finance module?

  • Suggested answer
    Martin Dráb Profile Picture
    237,990 Most Valuable Professional on at

    Look at DimensionAttribute.BackingEntityTableId - it'll tell you the ID of the table.

    In your case, the backing table is OMOperatingUnit (in AX). But you won't find in database, because it uses table inheritance and it doesn't exist as such in the database. All tables in the hierarchy are stored in the root table: DirPartyTable. You'll need to learn a bit about table inheritance if you want to bypass the application layer and work directly with the database.

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... 490 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans