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

  • Suggested answer
    Martin Dráb Profile Picture
    231,760 Most Valuable Professional on at
    RE: Finding a relationship between financial dimensions and operating units

    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.

  • JF_Landry Profile Picture
    5 on at
    RE: Finding a relationship between financial dimensions and operating units in D365

    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?

  • André Arnaud de Calavon Profile Picture
    292,884 Super User 2025 Season 1 on at
    RE: Finding a relationship between financial dimensions and operating units in D365

    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. 

  • WillWU Profile Picture
    22,352 on at
    RE: Finding a relationship between financial dimensions and operating units in D365

    Please wait for the help from functional consultants.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans