Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个条形图,我试图将销售数据限制在特定的月份/年份。我想要 2012 年的销售额总和和 2013 年的销售额总和。月份名称的格式为 2012 年 1 月、2013 年 1 月等。我该怎么做?
您需要选择“类别组属性”并将其更改为按年份分组,而不仅仅是日期。
您现在正在覆盖您的默认分组,现在按年份而不是完整日期分组。这个过程也可以持续数月和数天。
如果您的日期数据字段不是合法的日期字段,您需要首先确保它是“日期”或“日期时间”数据类型。