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

Announcements

No record found.

News and Announcements icon
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
    303,247 Super User 2026 Season 1 on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 545 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 408

#3
Adis Profile Picture

Adis 267 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans