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 :
Dynamics 365 Community / Forums / Finance forum / Financial Dimension De...
Finance forum

Financial Dimension Description SQL

(0) ShareShare
ReportReport
Posted on by 95

Hi all, 

I'm trying to get the Financial Dimension Description. I could get the display value and the dimension name with this query:

Select dav.DISPLAYVALUE, da.NAME

from DIMENSIONATTRIBUTEVALUESET DAVS
join DIMENSIONATTRIBUTEVALUESETITEM DAVSI on DAVS.RECID=davsi.DIMENSIONATTRIBUTEVALUESET
join DIMENSIONATTRIBUTEVALUE DAV on DAVSI.DIMENSIONATTRIBUTEVALUE=DAV.RECID
join DIMENSIONATTRIBUTE DA on dav.DIMENSIONATTRIBUTE=da.RECID

But I cannot find the description.

Thank you

I have the same question (0)
  • DynamicsAXExplorer Profile Picture
    431 on at

    Can you please add a snapshot of UI and tell me which field are you talking about? I dont find a description field on Financial Dimensions form.

  • maober56 Profile Picture
    95 on at

    The field is in Financial Dimension Values.  Thank you

    pastedimage1568140287833v1.png

  • Verified answer
    Pedro Tornich Profile Picture
    955 on at

    Hi Mauricio,

    That field can come from different tables depending on the type of the dimension.

    For example, for a custom dimension it comes from the Description field of the DimensionFinancialTag table.

    The source table and field are determined on the DimensionAttribute table, the field BackingEntityType holds the the source TableId and the NameAttribute holds the source FieldId.

    You can verify that by checking the DimensionValueDetails form init() method.

    To find all tables and fields that populate that field, you can run the following query:

    SELECT
    BACKINGENTITYTYPE AS TABLEID,
    NAMEATTRIBUTE AS FIELDID,
    (SELECT TOP 1 NAME FROM SQLDICTIONARY WHERE TABLEID = BACKINGENTITYTYPE AND FIELDID = 0 AND SQLNAME <> '<source table>') AS TABLENAME,
    (SELECT TOP 1 NAME FROM SQLDICTIONARY WHERE TABLEID = BACKINGENTITYTYPE AND FIELDID = NAMEATTRIBUTE AND SQLNAME <> '<source table>') AS FIELDNAME
    FROM DIMENSIONATTRIBUTE
    GROUP BY BACKINGENTITYTYPE, NAMEATTRIBUTE

    In my environment it returned this results:

    Screen-Shot-2019_2D00_09_2D00_10-at-16.23.54.png

  • maober56 Profile Picture
    95 on at

    Thank so much you Pedro effectively the description field of financial dimensions are in different tables, depends of values.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans