web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Pivot FetchXML SSRS Report crm 365 Online

(0) ShareShare
ReportReport
Posted on by 5

hello , could you please help me i need to do Pivot in a fetchXML Query for a SSRS Report (A chart) in CRM 365 online   

here is my fetch query :

<fetch distinct="false" mapping="logical" output-format="xml-platform" version="1.0">
<entity name="contact">
<attribute name="fullname"/>
<attribute name="contactid"/>
<attribute name="NbrWeekEmail"/>
<attribute name="NBRDayEmail"/>
<attribute name="NBRMonthEmail"/>
<order descending="false" attribute="fullname"/>
<filter type="and">
<condition attribute="contactid" value="{DE376A94-26E6-E711-A82D-000D3AB4DB84}" uitype="contact" uiname="Lamyae j" operator="eq"/>
</filter>
</entity>
</fetch>

Query Result :

full name | NbrWeekEmail|NBRDayEmail| NBRMonthEmail

Lamyae  j | 2                         | 3                    | 4 

 I want to convert it to

NBR _Type             |     Value   |Activity 

NBRWeekEmail      |   2           | email

NBRDAYEmail        |   3           | email

NBRmONTHeMAIL|   4           | email

Inorder to display it in a bar chart  like this 

CHART.GIF

Any Idea for help please ?? 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    jestuder Profile Picture
    158 on at

    In the Toolbox in Visual Studio drag a Data Bar onto your report.  Right click on the bar and click on convert to full graph.  Setup the graph with the data it needs to reference.

  • Jamil Lamyae Profile Picture
    5 on at

    Hi couldn't try your workaround because i can't to acess to my SSRS

    "error enable to connect......"

    i am working in crm 365 v9

    could you you help to handle it ?

  • Jamil Lamyae Profile Picture
    5 on at

    Hi I finally tried your work around and its give me the following graph  the legend itsn't readable

    3036.Capture.GIF

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans