Hi
I am creating a report and have a text box which should only be visible if the option set field 'paymenttype' = 'Cash'.
What should i use for the expression?
Thanks
*This post is locked for comments
Hi
I am creating a report and have a text box which should only be visible if the option set field 'paymenttype' = 'Cash'.
What should i use for the expression?
Thanks
*This post is locked for comments
Hi Andreas that doesnt really help unfortunately, any other ideas?
This could answer your last question:
stackoverflow.com/.../how-can-i-specify-a-dataset-aggregate-in-this-ssrs-expression
Hi Andreas in my report I have 3 datasets and when i try to run as you saud above i get the following error.
"The Hidden expression for the text bix 'TextBox35' refers directly to the field 'paymenttype' without specifying a dataset Aggregate. When the report contains multiple datasets, field references outside of a data region must be contained within aggregate function which specify a dataset scope."
The Dataset i am using is Dataset1
=IIf(Fields!paymenttype.Value="Cash" OR Fields!paymenttype.Value="Credit" OR Fields!paymenttype.Value="Debit", true, false)
What if I want it only be visible for 'Cash' , 'Credit' & 'Debit'.
=IIf(Fields!paymenttype.Value="Cash", true, false)
André Arnaud de Cal...
292,494
Super User 2025 Season 1
Martin Dráb
231,309
Most Valuable Professional
nmaenpaa
101,156