Quantcast
Channel: SQL Server Reporting Services, Power View Forum
Viewing all articles
Browse latest Browse all 4035

Returning data from a stored procedure called inside a SSRS 2005 report

$
0
0

Hi,

for a SSRS 2005 report I've created two stored procedures, the first one that has some if ... else statement and for each statement I've written a complex SELECT to obtain some counting operation results. I've saved these results in variables. Fe, I've @Numerator_KPI, @Denominator_KPI and @KPI obtained as rate between @Numerator_KPI and @Denominator_KPI. I've tried to write this statement to do to return the stored procedure my results:

SET @KPI = @Numerator_KPI / @Denominator_KPI

SELECT @Numerator_KPI, @Denominator_KPI, @KPI

but any data appears for the related dataset inside my SSRS 2005 report.

I've tried to create a temporary table to insert these data and run a SELECT on this temporary table as the last statement of procedure, but with no results.

Any suggests to me, please? Thanks


Viewing all articles
Browse latest Browse all 4035

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>