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)

Count of Contacts list of a particular account in power bi

(0) ShareShare
ReportReport
Posted on by 40

How can we get the count of Contacts list of a particular account in power bi of CRM D365?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    sandeepstw Profile Picture
    4,601 on at

    Hi,

    Connect with Dynamics crm in Power bi and create fetch xml to get contact count based on account which you can show in Power BI.

  • Rashi Malhotra Profile Picture
    40 on at

    Is there any other way other than fetch xml?

  • Suggested answer
    pavanmanideep Profile Picture
    1,331 on at

    If you are on D365 On premise, you can use aggregate function Count to get the value of the record.

    In Online, using FetchXML was most preferred option, however we have a limit of retrieving max. 5000 records only.

    Check:https://crmchartguy.com/2017/09/30/use-fetchxml-in-power-bi-with-dynamics-365-customer-engagement/ 

    You can also check Power Query (M) builder available in XMLToolbox if that suits you.

    Hope this helps.

  • NODAL Profile Picture
    860 on at

    Hi Rishi,

    Try following way

    A)Take two tables accounts and contacts in power query

    B)Take required column in account table and don't forget to take accountid and in contact table tale only contactid and _parentaccountid_value

    C) Use group by feature of power quiery on contact table and and select count of contact id

    D) merge table account and contact based on accountid and _parentaccountid_value

    Additionally if you data is already loaded then you can use some DAX formulaes to get count

    Regards,

    NODAL

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