General Ledger Dimension Combination Table for External Reporting

  • General Ledger Dimension Combination Table for External Reporting

    Posted by DSC Communities on July 19, 2019 at 3:39 pm
    • Steve Latta

      Member

      July 19, 2019 at 3:39 PM

      ?Hello all,

      I’m trying to create some PowerBI reports based on the AX 2012 GeneralJournalAccountEntry table. There is a DisplayValue field which shows the full ledger account, including all dimensions, to which the transaction was posted. Unfortunately, we have multiple account structures composed two to four of these dimensions:

      Main Account
      Business Unit
      Site
      Cost Center

      When I view this table in Atlas, I’m able to select each of these dimensions as if they were dataĀ fields. However, when I look at the raw table data, there is simply a field called “LEDGERDIMENSION” that clearly is a RecId from another table. The problem is, I cannot figure out what table/tables I need to link to it in order to report on each dimension separately.

      Any ideas? I’m looking for a solution that with workĀ within a SQL query, or even bringing in and linking individual tablesĀ within PowerBI. All the solutions I’ve seen online are DAX code.

      ——————————
      Steve Latta
      Accountant
      Ortec, Inc.
      Easley SC
      ——————————
      ?

    • Bart Kolodziej

      Member

      July 22, 2019 at 10:18 AM

      Steve,

      There’s an AX ERD diagram available which may help you out, but since the document has been retired by Microsoft, you’ll need to follow the instructions on “Ā how to create your own ERDs”: Ā AX ERD

      Also, have you looked at the fieldĀ LEDGERACCOUNT inĀ [GENERALJOURNALACCOUNTENTRY] table?Ā 

      ——————————
      Bart Kolodziej
      Midland Paper, Packaging + Supplies
      Wheeling IL
      ——————————
      ——————————————-

    • Steve Latta

      Member

      July 22, 2019 at 1:47 PM

      Hi Bart,

      It’s not as easy as I’d hoped, but I think I’ve puzzled it out:

      GeneralJournalAccountEntry.LedgerDimension = DimensionAttributeLevelValueAllView.ValueCombinationRecId
      DimensionAttributeLevelValueAllView.DimensionAttribute = DimensionAttribute.RecId

      So, essentially, the first link will return as many results as you have dimension levels in the hierarchy that account belongs in – one result for each level.Ā  The second linkĀ gives you the ability to pull the dimension level name from the DimensionAttribute table, so you can structure reports based on the dimensions individually.

      ——————————
      Steve Latta
      Accountant
      Ortec, Inc.
      Easley SC
      ——————————
      ——————————————-

    • Alex Meyer

      Member

      July 23, 2019 at 9:07 AM

      Steve,

      If you still need the AX ERD to help, I have it hosted on my website at:Ā https://alexdmeyer.com/ax2012erd/

      ——————————
      Alex Meyer
      Director of Dynamics AX/365 for Finance & Operations Development
      Fastpath
      Des Moines, IA
      ——————————
      ——————————————-

    DSC Communities replied 6 years, 1 month ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘General Ledger Dimension Combination Table for External Reporting’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!