Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

CRM SSRS Report Parameter Issue

$
0
0

I have requirment to create CRM 2016 Online report.

I need to filter report based on Parameter Created Frequency 

Which have option Today,Last Week, This Week , Last Month, This Month

I made fetchXMl and this has Operator "today" 

I can use 4 dataset with all these different operator but can i use single data set and pass operator(last-week, this-week, last-month, this-month, ) as  parameter. 

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
  <entity name="activitypointer">
    <attribute name="activitytypecode" />
    <attribute name="subject" />
    <attribute name="statecode" />
    <attribute name="prioritycode" />
    <attribute name="modifiedon" />
    <attribute name="activityid" />
    <attribute name="ownerid" />
    <attribute name="instancetypecode" />
    <attribute name="community" />
    <order attribute="modifiedon" descending="false" />
    <filter type="and">
      <condition attribute="ownerid" operator="in">
        <value uiname="Anderson, Leo" uitype="systemuser">{663D9E10-C9E9-E411-B563-9CB654959EA0}</value>
        <value uiname="Webb, Justin" uitype="systemuser">{412876C1-FED9-E411-952C-9CB65495732C}</value>
        <value uiname="Hamilton, Josh" uitype="systemuser">{17B8FC3C-62EE-E411-BD1D-9CB65495732C}</value>
      </condition>
      <condition attribute="activitytypecode" operator="eq" value="4210" />
      <condition attribute="createdon" operator="today" />
    </filter>
  </entity>
</fetch>

Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>