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

Showing selected parameters values on each page in SSRS

$
0
0

Hi All,

I have a SSRS report with multi-selection parameter..Basically it's a summary report of sales and based on country parameter I have to show data.
let say Country is the parameter and below are the values of the Country parameter list...

Parameters list:
All
Australia
England
Canada
Italy

Parameter: All

1) If I select 'All' in the parameter list then

In 1st page I should see data related to Australia and display parameter value as Australia in the left side top corner of the report.   In 2nd page I should see data related to England and display parameter value as England in the left side top corner of the report.   In 3rd page I should see data related to Canada and display parameter value as Canada in the left side top corner of the report.  In 4th page I should see data related to Italy and display parameter value as Italy in the left side top corner of the report.  In 5th page I should see data related to All and display parameter value as All in the left side top corner of the report.

2) If I select Australia and England in the parameter list then

In 1st page I should see data related to Australia and display parameter value as Australia in the left side top corner of the report.   In 2nd page I should see data related to England and display parameter value as England in the left side top corner of the report.

3) If I select Italy in the parameter list then

In 1st page I should see data related to Italy and display parameter value as Italy in the left side top corner of the report.

It should look like this..I need help in showing parameters (selected parameter) individually on each page.

Page-1

Parameter: Australia ( how to show Australia on 1st page)

Product

Amount

Country

Prd1

100

Australia

Prd2

200

Australia

Prd3

300

Australia

Prd1

340

Australia

Page-2

Parameter: England ( how to show England on 2nd page)

Product

Amount

Country

Prd4

400

England

Prd1

125

England

Page-3 

Parameter: Italy ( how to show Italy on 3rd page)

Product

Amount

Country

Prd2

250

Italy

Prd3

250

Italy

Create Table:

Create Table Sample(
Product varchar(10) Not Null,
Amount Money null,
Country null
)

Insert Statement:

Insert into sample (Product,Amount,Country) Values ('Prd1',100,'Australia')
Insert into sample (Product,Amount,Country) Values ('Prd2','200,'Australia')
Insert into sample (Product,Amount,Country) Values ('Prd3','300,'Australia')
Insert into sample (Product,Amount,Country) Values ('Prd4','400,'England')
Insert into sample (Product,Amount,Country) Values ('Prd5','480,'Canada')
Insert into sample (Product,Amount,Country) Values ('Prd1','340,'Australia')
Insert into sample (Product,Amount,Country) Values ('Prd3','290,'Canada')
Insert into sample (Product,Amount,Country) Values ('Prd1','125,'England')
Insert into sample (Product,Amount,Country) Values ('Prd2','250,'Italy')
Insert into sample (Product,Amount,Country) Values ('Prd3','250,'Italy')

Thanks in Advance,
RH


sql


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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