Relatively new to SSRS and am looking for some help in the correct formatting for using a parameter in an expression in the table of a report. I am building a report that lists payroll deductions for each employee that then has to compare the deductions between pay periods. When the report is run the user would put in the pay period numbers, 012013 and 022013 for example in two parameters, one for each pay period (pp1 & pp2). My dataset query brings in the correct records, an example being
Pp# emp# Ded Code Amt
012013 118 1000 126.78
022013 118 1000 105.78
In the report what I am looking to do is:
Emp# Ded Code Amountpp1 Amountpp2
118 1000 126.78 105.78
My sticking point is getting the correct syntax in the expression in the report so that amountpp1 only lists deductions that are tied to the parameter pp1, i.e. in plain English – Amountpp1=(Fields!prpd_empe_amt.Value) where parameter=pp1.
Hopefully this makes sense to one of you gurus out there.
Thanks in advance for your help
Jim V
Jim
Elegant solutions are nice, but right now I'll settle for whatever works.