Getting Insights from Dynamics 365 Sales data

Getting Insights from Dynamics 365 Sales data

Share this blog

Subscribe for Insights & Trends

Be the first to get the latest blogs straight to your inbox!

    Copy RSS feed
    Getting Insights From Dynamics 365 Sales Data

    Customer relationship management (CRM) systems play a crucial role in managing customer interactions, streamlining business processes, and improving profitability. Nowadays, businesses ranging from startups to large enterprises are tailoring prebuilt CRM systems to fit their unique needs.

    Microsoft Dynamics 365 is a package that provides CRM and enterprise resource planning (ERP) applications that accelerate business growth by helping businesses manage customer databases, generate new leads, and engage with customers.

    In this blog post, we are going to see how to connect to and visualize Dynamics 365 Sales data in a sales manager dashboard created using Bold BI® through the following topics:

    Sales managers can gain insight into the sales pipeline, identify potential leads, and reach revenue targets with a dashboard like this.

    What is Dynamics 365 Sales?

    Dynamics 365 Sales is Microsoft’s CRM application dedicated to sales. It helps salespeople and sales managers track leads, contacts, and opportunities from a team’s sales pipeline. It comes with a free, 30-day trial. If you’re a Microsoft partner, you can access the applications through PartnerSource.

    First, create your account with appropriate details.

    Microsoft Dynamic CRM Sign Up Page
    Microsoft Dynamic CRM Sign Up Page

    After setting up your account, the following page opens.

    Microsoft Dynamics CRM Account Setup Page
    Microsoft Dynamics CRM Account Setup Page

    Your account details will be emailed to you once the setup completes. Click the link in the email that takes you to the CRM online trial, which will have sample data already installed. You can access all the data of the CRM, including sales, marketing, and service.

    Now let’s see how to visualize sales data using Bold BI through the Microsoft Dynamics CRM Sales data connection.

    Connecting to Dynamics 365 Sales Data

    The Dynamics 365 web API allows you to retrieve data in Dynamics 365 entity instances through API requests. The base URL format for the Microsoft Dynamic CRM Web API is: https://<:your_organization_url>/api/data/v9.0/<:your_end_point>

    Reference the following table to connect to Microsoft Dynamics and create a data source with appropriate APIs.

    End PointsUsed For
    GET [Organization URI]/api/data/v9.0/accountsGetting data for an account entity instance.
    GET [Organization URI]/api/data/v9.0/opportunitiesGetting data for an opportunity entity instance.
    GET [Organization URI]/api/data/v9.0/leadsGetting data for a lead entity instance.

    Refer to Microsoft Dynamics’ entity documentation for more entities.

    Creating a sales manager summary dashboard

    Let’s create a sales manager summary dashboard with Microsoft Dynamics CRM sales data. Refer to the video “How to Create a Dashboard – Bold BI Tutorial for Beginners” if you’ve never set up a Bold BI dashboard before.

    Dynamics CRM Sales – Sales Manager Summary Dashboard
    Dynamics CRM Sales – Sales Manager Summary Dashboard

    This dashboard showcases sales data through the following metrics, giving sales managers important insight into how the sales team is performing:

    • Total opportunities
    • Total leads
    • Active vs. inactive accounts
    • Won vs. lost opportunities
    • Won vs lost revenue
    • Sales pipeline for opportunity
    • Revenue by lead source
    • Revenue by company
    • Revenue by country
    • Revenue trend
    • Won revenue by sales leaders
    • Opportunities details

    To learn more about the metrics and KPIs used in this dashboard example, refer to the Sales Manager Summary Dashboard demo.

    Now let’s create a data source from the designer with Microsoft Dynamics data.

    Creating a Microsoft Dynamics CRM data source

    To create a Microsoft Dynamics Sales data source from the dashboard designer, follow the steps described in “Choose Microsoft Dynamics CRM data source” from Bold BI’s documentation. Also, use the steps in “Authentication with Microsoft Dynamics CRM” to authenticate with Microsoft Dynamics.

    After successful authentication, the NEW DATA SOURCE configuration panel opens. Specify a unique name for the Microsoft Dynamics data source. Provide a valid Microsoft Dynamics REST API endpoint in the URL textbox. Leave the default value GET for the REST API under the Method sectionSet the time interval for Refresh Settings so that the dashboard can refresh itself with the latest data updates.

    Let the Data Format be JSON since the Accounts, Opportunity, and Lead API endpoints return results in JSON format. Microsoft Dynamics CRM Sales will be set automatically in the Authentication Type section since OAuth is used for authenticating with the Microsoft Dynamics CRM account.

    Microsoft Dynamics CRM Sales Connection Window
    Microsoft Dynamics CRM Sales Connection Window

    Click Preview & Connect. As a result, a window opens listing the data results as seen in the following image.

    Raw Data Window
    Raw Data Window

    Choose the desired columns and click Connect. Drag and drop the table and save the data source. Finally, the created data sources will be added in the DATA SOURCES panel.

    Data Source Listing Panel
    Data Source Listing Panel

    Create an expression column in the CRM Opportunity data source to calculate fields as shown in the following table.

    Expression NameExpression
    Opportunity StatusIF([statuscode]=1,’In Progress’,IF([statuscode]=2,’On Hold’,IF([statuscode]=3,’Won’,IF([statuscode]=4,’Canceled’,’Out-Sold’))))
    Opportunity StateIF([statecode]=0,’Open’,IF([statecode]=1,’Won’,’Lost’))
    Won CountIF([Opportunity State]=’Won’,1,0)
    Lost CountIF([Opportunity State]=’Lost’,1,0)
    Account StatusIF([statuscode]=1,’Active’,’InActive’)
    Active AccountIF([Account Status]=’Active’,1,0)
    Inactive AccountIF([Account Status]=’InActive’,1,0)
    Lost RevenueIF([Opportunity State]=’Lost’,[estimatedvalue],0)

    Now, the data source is ready to be configured with the widgets.

    Configuring data to the widgets in a dashboard

    Add the required widgets to your dashboard and configure them with corresponding data sources, as described in the following table.

    Widget TitleConfiguration
    Total OpportunitiesType: Number Card

    Data source: CRM Opportunity

    Measure: Count of Opportunity ID
    Total LeadsType: Number Card

    Data source: CRM Lead

    Measure: District Count of Lead ID
    AccountsType: KPI Card

    Data source: CRM Account

    Actual Value: Active Account

    Target Value: Inactive Account
    OpportunitiesType: KPI Card

    Data source: CRM Opportunity

    Actual Value: Won Count

    Target Value: Lost Count
    RevenueType: KPI Card

    Data source: CRM Opportunity

    Actual Value: Estimated Value

    Target Value: Lost Revenue
    Sales Pipeline for OpportunityType: Funnel Chart

    Data source: CRM Opportunity

    Value(s): Estimated Value

    Column(s): Step Name
    Revenue by IndustryType: Tree Map

    Data source: CRM Lead

    Value(s): Revenue

    Column(s): Company Name
    Revenue Won by Sales LeadersType: Column Chart

    Data source: CRM Lead

    Value(s): Revenue

    Column(s): Full Name
    Revenue by CountryType: Map

    Data source: CRM Account

    Location Value: Revenue

    Location Name: Address1_Country
    Revenue TrendType: Spline Chart

    Data source: CRM Opportunity

    Value(s): Actual Value

    Column(s): Actual Close Date
    Opportunities DetailsType: Grid

    Data source: CRM Opportunity

    Column: Name,Estimated Close Date,Estimated Value,Opportunity Status

    Finally, the sales manager summary dashboard is ready. You can share it with your sales team by enabling access to it. Team members can view business information while working in Dynamics 365 Sales. For more details on sharing dashboards, refer to “Share Dashboards” in Bold BI’s documentation.

    Bold BI’s Microsoft Dynamics CRM sales dashboard example

    Sales Leads Tracking Dashboard

    This sales leads tracking dashboard helps sales leads and managers track their top 10 accounts by revenue, accounts by country, total accounts, total leads, accounts by industry, leads by source and owner,  top 10 owners by accounts, leads by rating, leads by campaign, lead generation rate, and lead summary.

    Dynamics CRM Sales – Sales Leads Tracking Dashboard
    Dynamics CRM Sales – Sales Leads Tracking Dashboard

    To learn more about the metrics and KPIs used in this dashboard example, refer to the Sales Leads Tracking Dashboard demo.

    Sales Opportunities Dashboard

    This sales opportunities dashboard helps sales leads and managers track sales opportunities, including sales progress by country, total opportunities, deals won vs. lost by revenue, deals won vs. lost by owner, opportunity by rating, top 5 won opportunities, top 5 accounts by opportunities, campaign type, top 5 campaigns by opportunities, sales revenue by campaign, opportunity summary, opportunity status by owner, estimated vs. actual revenue, and top 10 customers by estimated revenue.

    Dynamics CRM Sales – Sales Opportunities Dashboard
    Dynamics CRM Sales – Sales Opportunities Dashboard

    To learn more about the metrics and KPIs used in this dashboard example, refer to the Sales Opportunities Dashboard demo.

    Bold BI –

    Start Embedding Powerful Analytics

    Try out all the features of Bold BI with 30-day free trial.

    Conclusion

    So, now you know how to connect to Dynamics 365 Sales data and visualize important information from your sales pipeline using Bold BI®. If you have any questions on this blog, please feel free to post them in the following comment section. Get started with Bold BI by signing up for a free trial and create more interactive business intelligence dashboards. You can also contact us by submitting your questions through the Bold BI website or, if you already have an account, you can log in to submit your support question.

    Leave a Reply

    Your email address will not be published. Required fields are marked *