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 365 | Integration, Dataverse...
Answered

Can I create a view of records (from a custom entity) which do NOT have any upcoming/scheduled activities?

(0) ShareShare
ReportReport
Posted on by 110

Hi, 

I have a custom entity, which I'd like to create a dashboard view to show any records which do NOT have any upcoming/scheduled activities. Essentially, users are supposed to be proactively planning in activities to do in the future, and management want to see if they're doing that. 

Any help would be appreciated. 

Thanks

I have the same question (0)
  • Verified answer
    Wahaj Rashid Profile Picture
    11,321 on at

    Hi,

    Thank you for your query.

    As far as I know, you cannot achieve this using OOB features.

    This means you cannot apply a filter in the views to get results based on NOT IN operator.

    For example, you can list Accounts where Activity Start Date is in the Next 1 month, however, you cannot list Only Accounts where Activities Start Date NOT IN NEXT 7 DAYS.

    To achieve this, I would suggest the following approaches:

    • Add a Roll-up field (whole number) to store the count of Activities where is status is Scheduled (or Open):

    pastedimage1613067403041v1.png

    Then use this count in your views (chart), however, the rollup fields are not updated instantly and you cannot apply filters like 'Start date is in Next 1 month'.

    • Create a whole number filed (simple) and use a plugin to get a count of the open (scheduled) activities. You can register the plugin on creating/update of Activity where regarding is your custom entity. Implement all your conditions and update the count to be used in views.
    • If you are using on-premise, you can write an SQL Server query and use it in the SSRS report.

  • Julie Glasgow Profile Picture
    110 on at

    Thanks for the super quick response Wahaj. Your response makes sense. I was just hoping there was an OOB way and I was just missing something.

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 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Pallavi Phade Profile Picture

Pallavi Phade 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans