web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Derived Dimension func...
Finance forum

Derived Dimension function grayed out for entity-backed dimensions

(0) ShareShare
ReportReport
Posted on by 195

Hello Experts,

Can you please shed some light that why derived dimension tab grayed out when entity backed dimension is highlighted, for example like Customer , Project, Item Group etc. Please see screenshot below.

Derived-Dimension.jpg

I have the same question (0)
  • Malgorzata Rogoz Profile Picture
    15 on at
    RE: Derived Dimension function grayed out for entity-backed dimensions

    Jim Arbela, is it possible to somehow change it from Customer to Global then? I cannot add Derived dimensions on Items :/

  • Jim@Arbela Profile Picture
    20 on at
    RE: Derived Dimension function grayed out for entity-backed dimensions

    The specific code that drives this looks to see if the backing entity is a company-specific table.  If it is, then you cannot have derived dimensions.  Here's the code:

    Form Dimension Details - Datasource DimensionAttribute - Method Active calls method DimensionsDetail.dimensionAttribute_active() from the DimensionDetail class

    ...

    if (dimensionValueDetailsDerivedDimension)
    {
        dimensionValueDetailsDerivedDimension.enabled(!dimensionAttribute.isSaveDataPerCompany());
    }

    ...

    DimensionAttribute Table

    public boolean isSaveDataPerCompany()
    {
        return DimensionAttribute::doesTableSaveDataPerCompany(this.BackingEntityTableId);
    }

    public static boolean doesTableSaveDataPerCompany(RefTableId _backingEntityTableId)
    {
       boolean backingEntityDataPerCompany = false;
       DictTable dictTable;
       container cachedResult;
       container cacheKey = [_backingEntityTableId];
       DimensionCacheScope dimensionCacheScope = DimensionCacheScope::DimensionAttributeSaveDataPerCompany;

       cachedResult = DimensionCache::getValue(dimensionCacheScope, cacheKey);

       if (cachedResult == conNull())
       {
          dictTable = new DictTable(_backingEntityTableId);
          if (dictTable.dataPrCompany())
          {
             backingEntityDataPerCompany = true;
          }

          cachedResult = [backingEntityDataPerCompany];

          DimensionCache::insertValue(dimensionCacheScope, cacheKey, cachedResult);
       }

       return conpeek(cachedResult, 1);
    }

  • CapsLock Profile Picture
    1,419 on at
    RE: Derived Dimension function grayed out for entity-backed dimensions

    Hi,

    I was wondering the same thing. Why in some dimensions the button "Derived dimensions" is not active.

    I don´t think this statement is correct: It seems that the dimension whose values apply to all legal entities can use the derived dimension function. Mattguo could you maybe clarify here?

    I have financial dimensions whose values haven´t been assigned to any entity and I can still add Derived financial dimensions.

    I have also seen that doesn´t matter if the dimension is entity-backed or custom but it´s true that I haven´t seen any custom dimension that has the button inactive.

  • Suggested answer
    Shabnam Motani Profile Picture
    195 on at
    RE: Derived Dimension function grayed out for entity-backed dimensions

    Many thanks for sharing the information Mattguo.

  • Verified answer
    MATTGUO Profile Picture
    22,344 Moderator on at
    RE: Derived Dimension function grayed out for entity-backed dimensions

    Hi Shabnam,

    Only the dimension value can use the Legal entity overrides function, then the derived dimension can be enabled, otherwise it is disabled. docs.microsoft.com/.../financial-dimensions

    It seems that the dimension whose values apply to all legal entities can use the derived dimension function.

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