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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Formular Column: Extra...
Power Apps
Unanswered

Formular Column: Extract Year of a DateTime Column

(0) ShareShare
ReportReport
Posted on by 100

Hello community,

I need to extract the Year Value of a DateTime Column, let's call it 'Actual End' and save it in another column. So I want to create a formular column or calculated column for this.

It might be so that I can't use Power Apps Functions to grab the year value since
Year('Actual End') is not working here but in Power Apps. 
The given error is: Year cannot be performed on this input without a time zone conversion, which is not supported in formula columns.

Any ideas?
Thank you for any help!

I have the same question (0)
  • Ami K Profile Picture
    15,674 Super User 2024 Season 1 on at

    @ultrAslan - 

     

    Calculated columns against Date columns are currently problematic in Dataverse. Although many functions are supported (DateAdd, DateDiff, Days, Weekday, Year etc), attempting to apply this to a PowerFx formula will return that error.

     

    This is due to the lack of support at present for the localisation of Dates in Dataverse.  Time zone conversion is not yet supported in calculated Dataverse columns.

     

    You can find detailed information about this here:

     

    http://powerappsguide.com/blog/post/dataverse-formula-columns

     

    As an alternative, I would suggest using Power Fx on a Canvas App, or use Power Automate to achieve this.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard