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

Rollup Fields - Field cannot be referenced as they have invalid definitions

(0) ShareShare
ReportReport
Posted on by 2
We have rollup fields that calculate the total amount for invoices for each quarter in the prior year and for each quarter in the current year. We are trying to make the dates that are used in the filters be dynamically calculated so that users don't have to go in and update them every year. However, the rollup field on the account is giving an invalid definition error for the calculated dates. 
 
Below is the formula for PY_Q1_Start, the formulas for the other dates are essentially the same. Each field is giving the same error.
 
DateAdd(
    DateAdd(
        DateAdd(
            UTCToday(),
            -1,
            TimeUnit.Years),
        ((Month(UTCToday())-1)*-1),
        TimeUnit.Months),
    ((Day(UTCToday())-1)*-1),
    TimeUnit.Days)
 
I have the same question (0)
  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    Hi Partner,
    After a simple test, the same error was encountered:
    It seems to be because this column is a formula column.
    Based on the following documentation:
    --Because of the limitations of the columns themselves

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 189 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 66

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans