我有这个简单的报告,我尝试同时使用行和列组,我仍然在rank列上获得单独行中的值(每个等级1行)。我能以某种方式在单行显示这些值(77,22,44)吗?所以我不需要那些标有红色十字架的线。 请注意,每个Loc的PR排名是差异所以我只显示Rank,不关心产品,它没关系,我只显示排名的排名和计数。我在sql中完成了pivot,但是想尝试在rdl中执行此操作。 我还在这里包含示例ds Tx Mario
select 'EUROPE' LOC_NAME, '70' PR_CODE, 'Product 700 for man' PR, 'Local' RACE, '96' CC, '1' RK union
select 'EUROPE' LOC_NAME, '400' PR_CODE, 'Product 400' PR, 'Local' RACE, '116' CC, '2' RK union
select 'EUROPE' LOC_NAME, '70' PR_CODE, 'Product 700 for man' PR, 'Unknown' RACE, '37' CC, '1' RK union
select 'EUROPE' LOC_NAME, '200' PR_CODE, 'Product 200 for women' PR, 'Unknown' RACE, '13' CC, '3' RK union
select 'EUROPE' LOC_NAME, '200' PR_CODE, 'Product 200 for women' PR, 'Local' RACE, '74' CC, '3' RK union
select 'EUROPE' LOC_NAME, '400' PR_CODE, 'Product 400' PR, 'Unknown' RACE, '25' CC, '2' RK union
select 'ASIA' LOC_NAME, '70' PR_CODE, 'Product 700 for man' PR, 'Local' RACE, '22' CC, '2' RK union
select 'ASIA' LOC_NAME, '550' PR_CODE, 'Product 550 ASIA ' PR, 'Local' RACE, '44' CC, '3' RK union
select 'ASIA' LOC_NAME, '70' PR_CODE, 'Product 700 for man' PR, 'Unknown' RACE, '55' CC, '2' RK union
select 'ASIA' LOC_NAME, '200' PR_CODE, 'Product 200 for women' PR, 'Unknown' RACE, '66' CC, '1' RK union
select 'ASIA' LOC_NAME, '200' PR_CODE, 'Product 200 for women' PR, 'Local' RACE, '77' CC, '1' RK union
select 'ASIA' LOC_NAME, '550' PR_CODE, 'Product 550 ASIA ' PR, 'Unknown' RACE, '33' CC, '3' RK