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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

How to find Open Opportunities that don't have a future activity set up

(0) ShareShare
ReportReport
Posted on by 15

Hi everyone,

I'm supporting users in my company to find open sales opportunities that don't have a future activity scheduled on the timeline, such as a task. Users are handling multiple sales opportunities and may forget to schedule a follow-up task or future activity. With no activities created, users will not be able to properly track their sales in a timely manner. How can I build a query view that will instantly show any open opportunities that don't have a future task/activity made? The current work-around is that I have users cross-reference their open opportunities to their open tasks. I like to help them downsize the time they spend in finding these discrepancies. 

I appreciate the help.

JC

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at
    RE: How to find Open Opportunities that don't have a future activity set up

    Hi,

    For this you should create a new personal view through Advanced Find and there set the criteria of associated Activities to contain data and  the Actial Start field of that activities to be in the past (example on the screenshot). And to see only Open Opportunities with this criterias you just have to add another row with Status = Open. Like this:

    oppo_2D00_filter_2D00_screenshot.png

    Thus you will see in this view only that Opportunity records with no new tasks/activities.

  • Suggested answer
    kunihih Profile Picture
    on at
    RE: How to find Open Opportunities that don't have a future activity set up

    You will have to use a outer join between opportunity and activities to achieve this. However, the view designer does not allow you to specify an outer join so you will need to create a system view, export the view and directly edit the fetchxml for the view. See the following document that describes how one can query for records that don't have a related record that matches a criteria.

    docs.microsoft.com/.../use-fetchxml-left-outer-join-query-records-not-in

    A fetchxml of the following form should probably work but you will need to test it.

    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true">

     <entity name="opportunity">

       <attribute name="name" />

       <attribute name="customerid" />

       <attribute name="estimatedvalue" />

       <attribute name="statuscode" />

       <attribute name="opportunityid" />

       <order attribute="name" descending="false" />

       <link-entity name="activitypointer" from="regardingobjectid" to="opportunityid" link-type="outer" alias="ae">

         <filter type="and">

           <condition attribute="scheduledend" operator="next-x-days" value="500" />

         </filter>

       </link-entity>

     </entity>

    </fetch>

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
DAnny3211 Profile Picture

DAnny3211 136

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 130

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans