Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reporting services FetchXML中的日期参数_Reporting Services_Ssrs 2008_Dynamics Crm_Dynamics Crm 2011_Fetchxml - Fatal编程技术网

Reporting services FetchXML中的日期参数

Reporting services FetchXML中的日期参数,reporting-services,ssrs-2008,dynamics-crm,dynamics-crm-2011,fetchxml,Reporting Services,Ssrs 2008,Dynamics Crm,Dynamics Crm 2011,Fetchxml,我正在SSRS2008中使用FetchXML从CRM 2011创建一个报告。我希望在报告中有参数,以便您可以显示从日期到日期之间的记录。这是我到目前为止提出的问题 <fetch> <entity name="appointment"> <attribute name="scheduledstart" /> <link-entity name="systemuser" from="systemuserid" to

我正在SSRS2008中使用FetchXML从CRM 2011创建一个报告。我希望在报告中有参数,以便您可以显示从日期到日期之间的记录。这是我到目前为止提出的问题

<fetch>
      <entity name="appointment">
        <attribute name="scheduledstart" />
        <link-entity name="systemuser" from="systemuserid" to="ownerid">
            <attribute name="firstname" alias="ownerFirstName" />
            <attribute name="lastname" alias="ownerLastName" />
        </link-entity>
        <link-entity name="contact" from="contactid" to="new_contactperson">
            <attribute name="parentcustomerid" alias="parentaccount" />
            <attribute name="new_businessunit" alias="businessunit" />
        </link-entity>
        <attribute name="new_contactperson" />
        <attribute name="subject" />
        <attribute name="new_coldernotes" />
    <link-entity name="activityparty" from="activityid" to="activityid">
    <attribute name="participationtypemask" alias="participationtypemask" />
        <filter>
        <condition attribute="participationtypemask" operator="eq" value="9" />
        </filter>
        <link-entity name="systemuser" from="systemuserid" to="partyid">
            <attribute name="fullname" />
        </link-entity>
    </link-entity>
    <order attribute="scheduledstart" descending="true" />
      </entity>
</fetch>

我该怎么做才能在日期之间进行筛选


谢谢

不确定您是否有权访问本机CRM客户端,但“高级查找”视图会快速生成以下示例FetchXML: