SSRS Scatter Chart

DataSet

SELECT        1 AS RowNumber, '2007' AS x, 48123 AS y, 33 AS others
UNION ALL
SELECT        2 AS Expr1, '2007' AS x, 52000 AS y, 44 AS Expr2
UNION ALL
SELECT        3 AS Expr1, '2009' AS x, 62000 AS y, 55 AS Expr2
UNION ALL
SELECT        4 AS Expr1, '2010' AS x, 42000 AS y, 66 AS Expr2
UNION ALL
SELECT        5 AS Expr1, '2011' AS x, 22000 AS y, 77 AS Expr2

1.Default Behaviors

when add "y" as ∑ value, Category Groups will auto Add "Details" and ∑ value Add "Sum(y)" and "X Value"

∑ value:  the chart data area, include Y and X, those value come from Dataset

-"Sum(y)": Y-axis value

-"X Value": X-axis Value. if the Dataset only include two numeric columns, then "X Value" will smart enough to auto use the other column's value except "Y value", but if Dataset Includes more than 2 numeric columns(in this case, we have column "x","y","others" which is greater than 2 numeric columns), then "X Value" will be the row number (start from 0). Other than use "X Value", we can choose specific column as our real X-axis Value.

 or 

Category Group: do the group by in Dataset

-"Details":no group by, if we use value other than "Details", then will do the group by, at the mean time,  ∑ value will need to use aggregate function.


2. Category Field vs. Category Group

  vs  


Category Field: X-axis of Dataset

Category Group: Group by on Dataset



  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值