I'm trying to understand how to plot data to a pie chart using calculations versus grouping.
I've tried series and category grouping:
=Switch(Left(Trim(Fields!WaybillNumber.Value),2) = "SA", "SA",
Left(Trim(Fields!WaybillNumber.Value),2) = "JU", "JU")
The easiest way would be if you add a calculated field in your dataset with your expression,
and then simply drag and drop your calculated field into the pie chart.