Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

AOT query to link to Finance Dimensions - duplication

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm writing an AOT query using the PurchLines as a base table.    I'm using the DefaultDimensionView to link to dimensions.  The issue is that dimensions are represented as rows in the DefaultDimensionView.   This causes duplication on the PurchLines for each dimension.   What I really need is an pivoted version of the view.  I've researched and it appears there is no PIVOT function in the AOT.

Note, I can't use the SSRS/Query framework to pick up the dimensions.  I need them in my main AOT query.

This has to be a common requirement for reporting.  How have others overcome it?

Best

Lee

*This post is locked for comments

  • Leehbi Profile Picture
    Leehbi on at
    RE: AOT query to link to Finance Dimensions - duplication

    Thanks Venkatesh - I was hoping there would be a cleaner way to do this.

  • Verified answer
    venkatesh vadlamani Profile Picture
    venkatesh vadlamani 3,180 on at
    RE: AOT query to link to Finance Dimensions - duplication

    you can design a set of view with defaultDimension record ID as common field and one attribute and its display name as fields

    Use all these view and create a flattened dimensionView .

    For this you need to finalize on the number of dimensions be it custom or Standard one

    Yes there is no particular way to pivot in Ax directly

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans