Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Process stage linked to Opportunity into SSRS report

Posted on by Microsoft Employee

Hi guys,

Thanks again for all the help so far. I'm doing an SSRS report (using SQL, on prem 2015) for Opportunities and there is a requirement to pull the stage from the business process flow.

I've managed to pull a dataset for FilteredProcessStage (Processstage) which has a stagename field, so I did an expression of =lookup(fields!processid.Value, fields!processid.Value, fields!stagename.Value, "Processstage") but this just pulls the same stage (the first one), not the one related to the opportunity.

I'm missing something, but I can't see what! Any help greatly appreciateD!

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Process stage linked to Opportunity into SSRS report

    Thanks ever so much!

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Process stage linked to Opportunity into SSRS report

    Hello,

    Try to use something like:

    =lookup(fields!stageid.Value, fields!processstageid.Value, fields!stagename.Value, "Processstage")

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans