Is it possible to make a group and sort conditional? If so, is it possible to somehow do this based on the value of a textbox item?
I thought I could just set the Expression of the group and sort to something like =IIF(ReportItems!TheTextBox.Value = 0, 0, Fields!FieldName.Value)
, which would be perfect, but it doesn't allow me to use ReportItems in group or sort expressions =(
Really don't want to make two reports whenever I need that feature... hope someone can shed some light on this!
Using:
- Microsoft reporting services
- Report viewer with local processing