Sum data based on its grouping

来源:互联网 发布:java查询redis所有key 编辑:程序博客网 时间:2024/06/07 22:30

 Step 1: AggregateRow
Step 2: In this section, you can get the result as follows:

Code:

dept_A    10dept_A    5dept_A    15  //SUMdept_B    7dept_B    3dept_B    10  //SUM

Step 3: tMap component aims to replace 'dept_A,dept_B' with 'SUM'.

原创粉丝点击