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, ...
Answered

How do I retrieve Display value and the corresponding Name of a Dimension?

(0) ShareShare
ReportReport
Posted on by 35

I need to write a select clause or build a view to get DisplayValue field from DimensionAttributeValue table and the corresponding Name value which come from the table name in BackingEntityType field of DimensionAttribute table.

Anyone have some ideas?

I have the same question (0)
  • Suggested answer
    Adria Ariste Profile Picture
    User Group Leader on at

    Hi,

    you can use the DefaultDimensionView and look for the values using the dimension's name.

    Regards,

    Adrià Ariste - Senior technical consultant @ Axazure - Read my blog!

  • Suggested answer
    Sumit Loya Profile Picture
    2,230 on at

    Hi,

    If you have DefaultDimension then you can use DefaultDimensionView to get the required data. If it is LedgerDimension then you can use DimensionAttributeLevelValueAllView along with DimensionAttribute to get your required data.

  • PhucNguyen Profile Picture
    35 on at

    I mean, the Name of Dimension values, not of Dimension types.

    Like this:

    2019_2D00_10_2D00_10_5F00_10h23_5F00_30.png

    I need select '001' value with 'Home' value, not 'BusinessUnit' value

  • Suggested answer
    Adria Ariste Profile Picture
    User Group Leader on at

    If the dimension has a backing entity (like Customer, Project, etc.) you can just get the value from that entity table, otherwise you need to find the value from the DimensionFinancialTag table in the following way:

    select firstonly dimensionAttribute
        where dimensionAttribute.Name                           == DIMENSIONAME
        join dimensionAttributeDirCategory
            where dimensionAttribute.RecId                      == dimensionAttributeDirCategory.DimensionAttribute
               && dimensionAttributeDirCategory.DirCategory
            join dimensionFinancialTag
               where dimensionFinancialTag.FinancialTagCategory == dimensionAttributeDirCategory.DirCategory
                  && dimensionFinancialTag.Value                == DIMENSIONVALUE;

    Adrià Ariste - Senior technical consultant @ Axazure - Read my blog!

  • Verified answer
    Sumit Loya Profile Picture
    2,230 on at

    Hi,

    On DefaultDimensionView, you can see a display method "dimensionDiscription". This will return what you need. So you can still use DefaultDimensionView for your dimension 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

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
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans