|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, June 14, 2013 3:14 PM
Points: 13,
Visits: 73
|
|
Hi,
I have a distinct list of state-county parameter and a text box that displays this value if selected.
How do I create an expression that is (Select all) is selected then display 'All' rather than every state-county name being displayed.
=IIf(IsNothing(Parameters!pStateCounty.Value), "All", Parameters!pStateCounty.Value)
this expression is not working since a multivalue parameter cannot be set to null and I get an (error)
Thank you.
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: Today @ 12:42 PM
Points: 1,468,
Visits: 941
|
|
The only thing I think you can do is compare the number of selected items to the total number of items.
iif(Parameters!pStateCounty.Count = Count(Fields!StateCounty.Value, "MyStateCountyDataSetName"),"All", Join(Parameters!pStateCounty.Label, ",") Edit Spelling
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, June 14, 2013 3:14 PM
Points: 13,
Visits: 73
|
|
Thank you for your response. I used your expression with 'countdistinct' and it worked great.
|
|
|
|