Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8712

Re: Use of Input Parameter for a Pivot view

$
0
0

Hi Noel,

 

This is because the SQL parser Inside B1 is unable to give the correct type to your parameters.

You have to find a workaround... i.e. something like:

DECLARE @Start INT
SELECT @Start = TF.[Year] FROM OACP TF WHERE TF.[Year] = [%0]

I personally don't understand the line OR T0.Year = [%1] because you are going to sum the sales for 2 years in a row, but it was not the question.

 

Regards,

Eric


Viewing all articles
Browse latest Browse all 8712

Trending Articles



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