Skip to main content

Notifications

Announcements

No record found.

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)
 
  • Verified answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Rollup Fields - Field cannot be referenced as they have invalid definitions
    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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans