Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Dynamics 365 Power BI Report

Posted on by 1,017

Hi, 

I have the requirement to create a Power Bi Report  to show the number of Phone Calls that a contact received in a month.

I have got the both Contact and Phone Call table in the Power Bi but not sure how to show the Phone Call Count for the Contact.  Please advise the steps or examples on how this can be achieved.

Thanks.

  • Verified answer
    RE: Dynamics 365 Power BI Report

    Hi James,

    Get data using Odata feed for "activitypointers" and "contacts" table/entity.

    After getting data, transform data using power query. Remove unnecessary columns.

    In activitypointer there is a column named "regardingobjectid_contact" that is a record, select "contactid" and any other columns you required.

    once transformation is done, close and apply it navigates to data model. In data model go to model/relationships and create 1:N relationship between contact and activitypointers table.

    In contact table create new column, using dax formula to display contacts phone call count for a month is =>

    (CALCULATE(COUNT(activitypointers[contactid]), activitypointers[activitytypecode] = "phonecall", DATEADD(activitypointers[createdon].[Date],-1,MONTH))).

    create any powerbi chart and in value include newly created column and in axis provide contacts full name.

    Regards,

    Prakash

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans