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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Average Deal Age (Days)

(0) ShareShare
ReportReport
Posted on by

Hello,

Do you know how can I calculate  Average Deal Age? The data is coming from Odata for Microsoft Dynamics CRM 2016 (v8).

I'm using PowerBI and in the pre-made templates they a calculation that I can't access call Average Deal Size. Do you know how they make this calculation?

A screenshot below.

I'm guessing that this information is not possible to retrieve by  Odata, but I'm not sure. The URL of my connection to Odata looks like this:

companyname.crm4.dynamics.com/.../OrganizationData.svc

Regards,

*This post is locked for comments

I have the same question (0)
  • Dynamics_Alok Profile Picture
    1,746 on at

    Since You are using Dynamics CRM online data with PowerBI hence data is stored on Microsoft  cloud and query running on the same data is also published on Cloud  so AFAIK you can't do reverse engineering .

  • tw0sh3ds Profile Picture
    5,600 on at

    Why do you need to get this value from OData? the idea of Power BI (any BI in fact) is to make data transformations in Power BI after getting raw data from external systems. There are many samples on google when you look for calculating average value, here is some of the first that came up for me:

    docs.microsoft.com/.../service-aggregates

  • Community Member Profile Picture
    on at

    Hello tw0sh3ds,

    Thanks for your response. The question is more oriented to know what is the formula behind the Average Deal Age rather in how to use PowerBI.

    I have tried to replicate the calculation without success. I was thinking to do:

    [modified date - created date] (for a given opportunity)

    I'm not getting the same numbers.

    Do you know how this number is calculated? Either generated by Dynamics or I can calculate on  PBI.

    Regards,

  • Verified answer
    Sindre Wetting Profile Picture
    on at

    The formula would be omething like this, and I'm assuming this issue is regarding open Opportunities:

    For every open opportunity

    ThisOpportunityDealage = daysbetween (today - created)

    Totalage = Totalage +ThisOpportunityDealage

    Avgdealage = Totalage / number of open opportunities.

    If you're including closed dels, you'll havet to check status open/closed and user the correct timestamp; created vs actualclosedate.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans