Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

SSRS Report VendSpendCategoryInvoice

Posted on by 75

In AX2012 R2 there is a SSRS report called "Spend by procurement category and vendor invoice classification", which is found in Procurement and Sourcing> Reports> Statistics> Spend Analysis.

When you run the report there is a drop down called "Procurement Category"

We have no procurement categories setup, but yet this drop down list is showing some. The report uses the datasets ProcurementCategory and VendInvoiceTrans. We have no records in either of these two tables with values for a procurement category.

Might someone be able to tell me exactly where the values that are showing in this drop down list are being populated from?

Thanks

David

pastedimage1585663588232v1.png

  • David Vanechaute Profile Picture
    David Vanechaute 75 on at
    RE: SSRS Report VendSpendCategoryInvoice

    Thanks so much. :)

  • Verified answer
    zhifeng Profile Picture
    zhifeng on at
    RE: SSRS Report VendSpendCategoryInvoice

    We can see this report's data source is from SSAS cube and procurement category is from parameter field:

    41706.png

    And this value is fetched by following command:

    WITH

    MEMBER [Measures].[ParameterCaption] AS '[Procurement category].[Procurement category name].CURRENTMEMBER.MEMBER_CAPTION'
    MEMBER [Measures].[ParameterValue] AS '[Procurement category].[Procurement category name].CURRENTMEMBER.UNIQUENAME'
    SELECT
    {[Measures].[ParameterCaption], [Measures].[ParameterValue]} ON COLUMNS ,

    {Filter([Procurement category].[Procurement category name].MEMBERS
    ,NOT [Procurement category].[Procurement category name].CurrentMember.IS_DATAMEMBER)
    }ON ROWS
    FROM [Purchase Cube]

    If we open SSAS cube design, we can see Procurement category from below tables:

    pastedimage1585700898677v1.png

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans