答案 0 :(得分:1)
在类别组中,右键单击您的组/类别组属性/排序选项卡。在按文本框排序中使用此表达式:
=Switch(
Fields!Month.Value = "January",1,
Fields!Month.Value = "February",2,
Fields!Month.Value = "March",3,
Fields!Month.Value = "April",4,
Fields!Month.Value = "May",5,
Fields!Month.Value = "June",6,
Fields!Month.Value = "July",7,
Fields!Month.Value = "August",8,
Fields!Month.Value = "September",9,
Fields!Month.Value = "October",10,
Fields!Month.Value = "November",11,
Fields!Month.Value = "December",12
)
假设您在图表类别组中使用了一个名为Month的字段,则上述表达式应该有效。如果您从可以使用的日期计算月份字段,那么:
=MONTH(Fields!Date.Value)
如果有帮助,请告诉我。