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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error trying to conver...
Power Apps
Unanswered

Error trying to convert DateValue to text

(0) ShareShare
ReportReport
Posted on by 48

Can someome tell me what is wrong in this formula column in Dataverse?

I got the error: 

Unexpected characters. The formula contains 'Error', where 'ParenClose' is expected.

anacarolinagr_0-1692024167235.png

 

I have the same question (0)
  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @anacarolinagr ,

    I don't know of a supported function in the Dataverse PowerFX formulas that will accomplish this requirement.  You can do "UTCNow()" to get the UTC date time as a field in Dataverse through PowerFX.  

     

     

  • anacarolinagr Profile Picture
    48 on at

     Actually I need a formula that changes the format of another column to the format mentioned. I used Now() just as an example. Do you know how I could do that?

     This is the sharepoint formula that I need to pass to Dataverse

    anacarolinagr_0-1692029074482.png

     

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @anacarolinagr ,

    Not possible that I know of.  Now, with Dataverse there are default columns in all tables including the CreatedOn an ModifiedOn fields which are date fields that will contain the date and time the record is created and the date and time the record is last updated.  When you configure dataverse you can setup the format for dates and users can view their dates (under personalization options) in their required format.  

     

    Hopefully this default functionality meets the needs of this column.

  • gulshankhurana Profile Picture
    1,397 Moderator on at

    Hi @anacarolinagr 

     

    I believe you may need 'DateTimeFormat'. 

     

    You may find the following links useful:
    https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-datevalue-timevalue
    https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/show-text-dates-times

    If you find my answer helpful then please do give it a thumbs up and if it helps address your query then please accept it as a solution.

     

    Kind regards

     

    Gulshan

     

     

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @gulshankhurana ,

    I don't think DateTimeFormat is valid within the column definition formulas for PowerFX in Dataverse.

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 600

#2
WarrenBelz Profile Picture

WarrenBelz 478 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 322

Last 30 days Overall leaderboard