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
Thanks Venkatesh - I was hoping there would be a cleaner way to do this.
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156