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

DimensionAttributeValueCombination relationship with other table

(0) ShareShare
ReportReport
Posted on by 120

I have the following SQL query where Im getting the display value and group dimension data. 

SELECT DISTINCT DAVS.RECID, DAVSI.DisplayValue, GroupDimension /*= ISNULL(GroupDimension, '') */
FROM D365.DimensionAttributeValueSet DAVS
INNER JOIN D365.DimensionAttributeValueSetItem DAVSI ON DAVS.RECID = DAVSI.DIMENSIONATTRIBUTEVALUESET AND DAVS.PARTITION = DAVSI.PARTITION
INNER JOIN D365.DimensionAttributeValue DAV ON DAVSI.DIMENSIONATTRIBUTEVALUE = DAV.RECID AND DAVSI.PARTITION = DAV.PARTITION
INNER JOIN D365.DimensionAttribute DA ON DAV.DIMENSIONATTRIBUTE = DA.RECID AND DAV.PARTITION = DA.PARTITION
WHERE [Name] = 'Producttype'

But I would like to also add one more INNER join with DimensionAttributeValueCombination table but Im having hard time to find a relationship with other tables. 

How can I join? 

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,349 Super User 2025 Season 2 on at
    RE: DimensionAttributeValueCombination relationship with other table

    Hi gg96,

    Can you explain the required outcome of your SQL statement? What is the business requirement?

    Note that there are views in the database which could make your life easier as they already have different tables joined to get dimension values. Check if there is one which could be used for your requirement.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,100

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 633 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans