【发布时间】:2017-01-26 15:19:04
【问题描述】:
我有 2 个数据集
第一个查找contactID、ContactMethod和Name(dataset1)
ContactId | ContactMethod | Name
1048 | email@email.ca | John Doe
第二次查找contactID、deliveries和deliveryStatus
ContactID | deliveries | deliveryStatus
1048 | FailedAttempt | Undeliverable
1048 | FailedAttempt | Undeliverable
1048 | FailedAttempt | Undeliverable
然后再重复 6 次...
我知道我可以做一个查询,但是这两个数据集位于两个不同的数据库中,所以我不能用 2 个数据源进行一个查询(据我所知。我可能完全错了)
这是我的功能
=Join(LookUpSet(Fields!ContactMethod.Value,
Fields!ContactMethod.Value,
Fields!CoarseReportingBucketName.Value,
"EX_JobDeliveries"),
",")
这将在一个单元格中返回我:(如果您在链接中看到图片,则无法投递在一个单元格中 9 次)
除非有其他方法,否则我将如何在不同的单元格中显示所有这些结果。使用 Lookup 只返回行,我希望它会自动填充,但它不会。
所以结果看起来像这样(所以是一个阶梯式报告)
ContactMethod | Name | deliveries | deliveryStatus
email@email.ca|
John Doe |
FailedAttempt | Undeliverable
FailedAttempt | Undeliverable
FailedAttempt | Undeliverable
还有 6 次...
【问题讨论】:
标签: reporting-services reportbuilder3.0