简体   繁体   English

地图报表数据集中的SSRS计数字段

[英]SSRS Count Fields in DataSet for Map Report

So I have these 2 lists in SharePoint ie Producer & Movies. 所以我在SharePoint中有这两个列表,即Producer&Movies。

Now I need to create a single dataset with information about a producer (Name & Nationality) and a count of his/her movies. 现在,我需要创建一个单一数据集,其中包含有关制片人(姓名和国籍)及其电影计数的信息。 So an example record from the dataset should look like this for example: Steven Spielberg | 因此,数据集中的示例记录应如下所示:Steven Spielberg | USA | 美国| 20 20

I have been looking for way to do this but I couldn't find anything. 我一直在寻找实现此目的的方法,但找不到任何东西。 Everything I tried resulted in an error on the report at runtime. 我尝试的所有操作均在运行时导致报告错误。 Like when I tried to use a LookUpSet-function that should have worked if it were allowed to use a LookUpSet-function in a DataSet. 就像当我尝试使用LookUpSet-function时,如果允许在DataSet中使用LookUpSet-function应该会起作用。

Does anyone know how I would be able to achieve something like this? 有谁知道我将如何实现这样的目标?

Sorry if I'm not clear with the title but I didn't know how else to describe it, so any suggestions are appreciated as well. 抱歉,如果标题不清楚,但我不知道该如何描述,因此也欢迎提出任何建议。 :) :)

Kind regards Gravinco 亲切的问候Gravinco

By default, we can only get values from one list in one query, which means we can only have one list in one dataset. 默认情况下,我们只能在一个查询中从一个列表中获取值,这意味着我们在一个数据集中只能有一个列表。 Even you can create a calculated fields to return the related movies of the producer, it's still not supported to use aggregation function in it to get the count value. 即使您可以创建一个计算字段来返回制片人的相关电影,仍不支持在其中使用聚合函数来获取计数值。 So for your requirement, You have to create two datasets and do the aggregation on producer group level in table. 因此,根据您的要求,您必须创建两个数据集并在表的生产者组级别进行汇总。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM