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

Relation between DimensionAttributeValueSet and DimensionAttributeValueCombination

(0) ShareShare
ReportReport
Posted on by 75

Hello folks,

May i have an advice, what is the relationship between table DimensionAttributeValueSet and DimensionAttributeValueCombination ?

Not fully understand this, but if I query my table from ProjInvoiceItem like this :

select b.* from PROJINVOICEITEM a 
join DIMENSIONATTRIBUTEVALUESET b on a.DEFAULTDIMENSION=b.RECID
where a.DEFAULTDIMENSION <> 0 

and in this example I get 1 row which on its column there are this info:

BUSINESSUNIT BUSINESSUNITVALUE
5637149830 100

 How can I relate this to table DimensionAttributeValueCombination ? 

Thanks,

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi MedWong,

    Could you please tell us your exact requirement? Using DefaultDimension you can get the individual dimension values from DimensionAttributeValueSetItem table.

  • OsmanIstanbul Profile Picture
    2,818 on at

    Hi Medwong,

    what do you want to get with this relation? do you want to get defaultdimension values?

  • MedWong Profile Picture
    75 on at

    Hi both,

    Absolutely. So the background idea is I want to create a custom AggregateMeasure which includes that table ProjInvoiceItem (also actually CustInvoiceTrans). By this I want to get the invoices. These will be my Fact table.

    On both of that two is only have Default Dimension.

    So am I supposed to relate this field to DimensionAttributeValueSet or DimensionAttributeValueCombination ?

    Reason to use DimensionAttributeValueCombination is only because I only able to find the  Aggregate Dimension connect to that table, named DimensionCombination. And we should relate our fact table key to Aggregate Dimension, right?

    Thanks

  • OsmanIstanbul Profile Picture
    2,818 on at

    Hi,

    actually, these fields are not unique based on CustInvoiceTrans or ProjInvoiceItem. you must find another field/fields for matching.

  • MedWong Profile Picture
    75 on at

    Hi Osmand.

    As this is for Aggregate Dimension, actually it doesn't need to be unique, it will get the unique anyway (Distinct, for the technical term)

    It just I need to find the relation key to table DimensionAttributeValueCombination.

    However I might take wrong understanding on what you were meant.

    Thanks.

  • OsmanIstanbul Profile Picture
    2,818 on at

    Hi,

    DimensionAttributeValueCombination contains ledgerdimension. you can use dimensionattributevaluesetItem table for defaultdimension. on dimensionattributevaluesetItem table, there is dimensionattributevalu field that you can use to filter your  dimension.

  • MedWong Profile Picture
    75 on at

    Means to say, I cannot use DimensionAttributeValueCombination because there is no connection to DefaultDimension, am I right to say that ?

    In the case that I cannot find Aggregate Dimension for DimensionAttributeValueSet, means I need to create it, right?

    Thanks

  • Verified answer
    OsmanIstanbul Profile Picture
    2,818 on at

    yes, there is no connection to DefaultDimension,

    ınstead of DimensionAttributeValueSet, you must use DimensionAttributeValueSetItem. 

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi MedWong,

    There is a whitepaper available which explains the dimensions to developers: https://go.microsoft.com/fwlink/?linkid=213133

    This whitepaper was written for AX2012 and some code patterns had been changed in Dynamics 365. However, it has some data model visualizations at the end of the document which could be useful for you.

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 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans