Baq to Dashboard options

You can do this with criteria using IN() clause.

If it’s a parameter baq, make it a list-type param, specify IN() criteria, and make it optional in baq design.

Then filtering in BaqOptions.WhereList string simply go:

IN(?{TransView.DeptListSQL})

Like this example:

You need to pass a single-quoted, comma-delimited string valid for T-SQL IN() clause. for example: 'dept1','dept2' not dept1,dept2 and not dept1~dept2

To format a kinetic list value (such as those returned by mutli-select search or selection-lists, etc you can convert dept1~dept2 to 'dept1','dept2' like so:

1 Like