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 :
Microsoft Dynamics NAV (Archived)

The date formula should include a time unit

(0) ShareShare
ReportReport
Posted on by

Hello,

I am trying to run a customer statement like I normally do every month. When I try to run the report, I get the following error message:

Does anyone know what this means? Is there a fix for this?

Thanks for your help,

Pete

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at

    Hi Pete,

    The screenshot hasn't been attached properly. Please reattach :)

  • Community Member Profile Picture
    on at

    Error Message:

    The date formula '-(30T) should include a time unit.

    Time units can be: D,WD,W,M,Q or Y.

    C, meaning current time unit based on date, can be specified as a prefix to the time unit.

  • Suggested answer
    Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at

    Hi,

    Is this report multilingual?

  • Verified answer
    Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at

    Hi,

    If it is in another language, please try to write in English, so the conflicts will be resolved.

    Example: CALCDATE(‘+12M-1T’,BeginnGeschäftsjahr) becomes CALCDATE(‘<+12M-1D>’,BeginnGeschäftsjahr).

    Check the link: noisyvan.wordpress.com/.../avoid-not-a-valid-time-unit-errors-with-multilanguage-calcdates

  • Community Member Profile Picture
    on at

    Thanks for the reply. Do you know where I have to make this change? Do I do this on the customer card?

  • Suggested answer
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at

    When you are running the report what is the value you are using on Length of Aging Periods on the request page of the report ? Looks like it has value of 30T change that to 30D

  • Community Member Profile Picture
    on at

    It looks like the value is indeed 30D. However, this is a swiss company that is trying to run this report. I am not sure if this makes a difference (language difference)?

  • Suggested answer
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at

    can you run a debugger, and send the screenshot of it where it catches the error

  • Gretchen Profile Picture
    5 on at

    I'm getting the same error message when trying trying to set up column layout to run a R12M (rolling 12 months) income statement.  I'm using NAV 2009.

    "The date formula 'FY[1] should include a time unit.  Time units can be D, WD, WQ, M, Q, or Y.  C, meaning current time unit based on date, can be specified as a prefix to the time unit."  I'm putting my date FY[1] in the Comparison Period Formula field.  For some reason, this version of NAV doesn't have the Comparison Date Formula field.

  • rnbergren Profile Picture
    7 on at

    so what does D and WD and M and Q actually stand for?

    Days, Weeks, Minutes?

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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans