Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

SSRS Passing Multiple Values to Multi-Value Parameters

Posted on by Microsoft Employee

Hello:

I have an SSRS report with a subreport.  Each report has two parameters.  And, the parameters are the same.  One pulls data from a work center, while the other pulls data from manufacturing orders.

If I run either the main report or the subreport, with one value for each parameter, the report(s) runs fine.  But, if I choose say every value in each parameter, no data appears.

The entire project is based on SQL stored procedures that I created.  I tested those stored procedures in SQL, and they display data accurately when I run the same tests that I ran in SSRS.  So, the problem is definitely in SSRS itself.

I have been reading today online about how developers place the following expressions within the main dataset of the SSRS report and subreport respectively:

=join(Parameters!ParamName.Value,",")

=Split(join(Parameters!ParamName.Value,","),",")

Also, the “verbiage” online says to modify the stored procedures’ parameter “@-symbols” to contain the following:   ‘,’.  I have done all of this, but I still get the same result—blank data upon choosing multiple values.  Also, SSRS gives off a warning shown at the end of this e-mail.

Does anyone have any suggestions?

Thanks!

John

 

Warning      1      [rsInvalidExpressionDataType] The Value expression used in textrun ‘currentstep1.Paragraphs[0].TextRuns[0]’ returned a data type that is not valid.      F:\SSRS\Manufacturing Scheduling\Mfg Scheduling\Mfg Scheduling\Current Step Subreport.rdl      0      0      

*This post is locked for comments

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans