Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 20764

Having issues with Multi-Value Parameters

$
0
0

I have 1 table. 1 have 1 multi-value parameter listing all properties called @PROPERTIES. I want the table to display 1 property per row at a time.

The table has roughly 20 columns, referencing different datasets throughout.

All of the datasets that reference the property have a: WHERE RMPROPID IN (@PROPERTIES).

The table has a single row, referencing the different datasets. The tables dataset is SelectedPropertiesand the group by on the row is =Fields!RMPROPID.Value

The SelectedProperties dataset looks like this:

SELECT
   RMPROPID,
   propnameFROM
   RMPROPWHERE
   RMPROPID IN(@PROPERTIES)

Whenever I choose more than one property it uses all selected properties to make the calculations, instead of just 1 property/row at a time.  I want 1 row to reference one property at a time.

If you guys need more information I'll be glad to tell you what I can.

I believe the problem is that when you select more than one it is basically saying, SELECT WHATEVER FROM RMPROP WHERE RMPROPID IN ('XX','XY')...when in reality I want only one property referenced at a time per row.

Thanks


Viewing all articles
Browse latest Browse all 20764

Trending Articles



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