Custom Reports in Microsoft Dynamics CRM 4.0. Using Stored Procedures.

I have to write a Management report that calculates the conversion ratios from lead -> opportunity -> won.

My Choice is to either create a Report with several datasets and do the calculation on the report document Or write a nice stored procedure which uses the filtered views to return a single dataset.

How unsupported is the second choice? Do I have alternatives?
Pilkingtons-TilesAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bmosoftwareCommented:
Using the filtered views and stored procedures is supported, the only part that would not really be supported would be making modifications to the CRM database (i.e. adding the stored procedure to the CRM database), so as a result it is usually recommended to create a seperate database for storing these kind of reporting Stored Proce and views etc. just to make sure that they aren't accidentally overwritten during a restore or migration or something of the likes. So I would create the stored proecedure to perform all your calculations and return the dataset you are after, but just store it in a seperate database and point your report to that accordingly.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DB Reporting Tools

From novice to tech pro — start learning today.