SSRS在表中的分组数据中间未分组数据

时间:2015-07-01 12:57:12

标签: reporting-services

我不确定我是否措辞得当。展示起来要容易得多。因此,如果没有子报表,有没有办法在分组数据中包含非分组数据。

╔════╦══════════════╦══════════════╦════════════╗
║ ID ║     Cars     ║ Name         ║    Date    ║
╠════╬══════════════╬══════════════╬════════════╣
║  1 ║ 2011 Chevy   ║ John D       ║ 1/1/2013   ║
║    ║ 2012 Ford    ║              ║            ║
║  2 ║ 2010 Pontiac ║ Jane D       ║ 1/1/2012   ║
║  3 ║ 1969 Chevy   ║ Bob H        ║ 12/1/2011  ║
║    ║ 1930 Ford    ║              ║            ║
╚════╩══════════════╩══════════════╩════════════╝

汽车没有分组。因此,存在与所有其他数据的1:N关系。

我知道你可以做和做的是将“汽车”一直放到右边,让它成为身份证,姓名,日期,汽车,但我似乎无法将汽车放在所有汽车的中间位置。分组的数据列。我知道子报告是“可能的”,但我想知道我是否只是错过了明显的

1 个答案:

答案 0 :(得分:0)

It's a hack, but I do it all the time:

You can embed a table in the Cars cell. You just need 1 Details cell on your embedded table (get rid of the headers and the extra columns that are auto added), and have it list your cars. It will only list the cars that are related to the value in column 1 on each row of the parent table, and should probably end up looking like your example above.