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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

How to create a view for those Accounts that do not have any Orders in the past two years?

(2) ShareShare
ReportReport
Posted on by 150
I need to create a view/dashboard that shows those accounts that don't have New Orders in the last two years.

New/Renew Order Type (is a field)
Categories:
I have the same question (0)
  • Verified answer
    11manish Profile Picture
    567 on at
    To show Accounts with no new Orders in the last 2 years, you need a solution that handles “no recent related records.” Standard views can’t do this directly,
    so here’s the clean, reliable approach.

    1) Create a Rollup field on Account
    In Account:
    • Field name: Last Order Date
    • Type: Date/Time (Rollup)
    • Related table: your Orders entity (e.g., Sales Order)
    • Aggregate: MAX (Order Date / Created On)
    2) Build the View
    Create a view with filters:
    • Last Order Date → Older Than → 2 Years
    • OR
    • Last Order Date → Does Not Contain Data
    This returns:
    • Accounts with no orders ever
    • Accounts with no orders in the last 2 years
    3) Add to Dashboard
    Create a dashboard in Dynamics 365
    Add:
    • List (your view)
    • Optional chart (count of inactive accounts)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 170

#2
ManoVerse Profile Picture

ManoVerse 144 Super User 2026 Season 1

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 59 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans