Monday, July 01, 2013

Mulivalue Parameter + "In" Filter

to filter a SSRS (Sql Server Reporting Services) dataset with the In Clause and a Multivalueparameter (e.g. named  DocIds) enter [@DocIds] in the Value Box of the Filter (Dataset Properties) and the Operator In.
[@DocIds] is like Expression =Parameters!DocIds.Value - it offers all values of the multivalue Parameter, not only one like Parameters!DocIds.Value(0)


um ein SSRS (Sql Server Reporting Services) Dataset mit der In Klausel und einem Multivalue Parameter (z.b. Namens DocID) zu filtern, muß man  [@DocIds] in der Value Textbox und den Operator "In" im Dialogfeld "Filters" der Dataset Properties einstellen.
[@DocIds] entspricht der Expression =Parameters!DocIds.Value - das gibt alle Werte des Multivalue Parameters zurück und nciht nur einen wie z.b. Parameters!DocIds.Value(0)

No comments: