My report looks as below:
And my SSRS form of the report is as below:
I want only one line of total and don't want the total percentage line to show up.For this, I would like to add a case/switch statement in the expression:
If Column_grouping contains "percent" then show "%value"
If column_grouping does not contain "percent" then show "total"
And my SSRS expression is as below:
=Switch
(Fields!Column_Grouping.Value like "*percent*", Fields!Total_value_Count_pct.Value,
Fields!Column_Grouping.Value not like "%percent%",Sum(Fields!Total_value_Count.Value))
Evidently this expression is wrong. Any help to fix this?!