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 :
Finance | Project Operations, Human Resources, ...
Unanswered

how can I use DimensionAttributeValueCombination in a view, with dimension attribute name and value

(1) ShareShare
ReportReport
Posted on by 4
hi,
I have the following view:
 
the SC_MainAccountsDim contains dimensions related to each MainAccountId in SC_CategoryMainAccounts 
I need to get the RecId of the DimensionAttributeValueCombination for each record in SC_MainAccountsDim(i.e the RecId for the combination of main account id and dimenstion attribute value and name) 
the table DimensionAttributeValueCombination has maybe hunderds of records for one combination as follows:
 
the DimensionAttributeValueCombination dont have fixed fields for dimension attribute name and value, they are dynamically generated as 
SystemGeneratedJournalAccount(FieldInt64) and SystemGeneratedJournalAccountValue(FieldString)
 
So, I cant use range filter when adding the table in the view.
 
thank you
Categories:
I have the same question (0)
  • Martin Dráb Profile Picture
    237,364 Most Valuable Professional on at
    how can I use DimensionAttributeValueCombination in a view, with dimension attribute name and value
    Moved from Integration, Dataverse, and general topics forum to Finance | Project Operations, Human Resources, AX, GP, SL forum.
     
    It seems you thought that a main account and a business unit uniquely identify a record in DimensionAttributeValueCombination, but you've already proven that it's not the case. There are many records with the same main account and business unit, but different values of other dimensions. You didn't return them from your query, but you still can see them in DisplayValue. For example, here you can see different values of the third dimension.
     
     
    Now when you understand the data model, you need to think again about what you want to achieve. If you want to find a single record in DimensionAttributeValueCombination, you must take all dimensions into account, not just a single one. And if you're interested in a single dimension only, you can't find a unique DimensionAttributeValueCombination record.
  • CU26111349-0 Profile Picture
    4 on at
    how can I use DimensionAttributeValueCombination in a view, with dimension attribute name and value
    Thank you Martin for your response 
    Yes I know that. I was asking about how to retrieve all records related with business unit dimension for example. 
    The DisplayValue field shows the main account - dimensions combinations. I need to retrieve all records from DimensionAttributeValueCombination that (for example) BusinessUnit value = 023 is contained in DisplayValue column. 
     
    Is there a way to filter DimensionAttributeValueCombination table in the view to achieve this scenario. 
     
     
  • Sohaib Cheema Profile Picture
    49,238 User Group Leader on at
    how can I use DimensionAttributeValueCombination in a view, with dimension attribute name and value
    And If you want to understand the SQL and joins for this info, there are many online blogpost, where people have written SQL for this, here are a few examples: 
  • Martin Dráb Profile Picture
    237,364 Most Valuable Professional on at
    how can I use DimensionAttributeValueCombination in a view, with dimension attribute name and value
    You may be interested in DimensionAttributeLevelValueView or DimensionAttributeLevelValueAllView.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 719 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
CU05031448-0 Profile Picture

CU05031448-0 536

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans