简体   繁体   中英

Scope parameter issue in SSRS report Expression

Friends, I have a detailed chart which represents individual expenses, but instead of handwritten fields, I want to use them from expression to load automatically as those fields are not the same every time. Hence I have used a Row Group with a Scope Parameter belonging to Row Grouping. More over I want them to have column wise Grouping based on Created Month. But the issue is I am not able to add multiple Scope parameter to the expression. Please find the images for better understanding here: http://postimg.org/gallery/3eav75ja8/d73ae417/

image1 and image3 represent hand written fields. image2 and image4 represent how I need, but the values for details are not correct.

Any guidance shall be appreciated. Thank you!

Yes, it was bit complicated, But my new friend "INSCOPE" did the trick for me!!

=IIf(Inscope("Created_Month") and Inscope("statusfld"),Sum(IIf(Fields!category.Value = "DIRECT EXPENSES",Fields!Booking.Value,nothing)),Sum(IIf(Fields!category.Value = "DIRECT EXPENSES",Fields!Booking.Value,nothing)))

Thank you!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM