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 / Concatenate a date col...
Power Apps
Unanswered

Concatenate a date column and a text column using a dataverse formula column

(0) ShareShare
ReportReport
Posted on by 33

I'm fairly new to using dataverses. I want to fill a new column with a date and a text from two other columns in the same row. I created a new column for this with type fx.

 

When I enter something like:
Text(DateColumn; "dd/mm/yyyy") & TextColumn

 

Then the syntax is ok, but the error message follows:
This argument cannot be passed as DateTime type in formula columns.

How do I solve that?

I have the same question (0)
  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @JerryVividMiM ,

     

    Have you tried different formula just to check if you are getting Date format first and then check your textcolumn value is coming in your field.

    Later, you can use Concatenate function like,

    Concatenate(Text(DateColumn; "dd/mm/yyyy"); TextColumn.Text)

    I am not sure if .Text is used in FX because I haven't used it yet.

     

    But hope this helps

  • JerryVividMiM Profile Picture
    33 on at

    Hi Ethan,

    Thanks for your response. I've tried it without the concatenation. Even with Now() as value for the date, but this doesn't work either. In the Power FX documentation it says the text function also applies to Dataverse formula columns and no exception is mentioned on the page. Strange, because it seems such an obvious and useful possibility. I can of course solve it in the apps, but it would be better if it is reusable in the table.

     

    Hope somebody else has an idea.

     

    Kind regards,

    Jerry

  • Verified answer
    Jonathan Manrique Profile Picture
    2,687 on at

    Hi @JerryVividMiM 

     

    At the Column level using Power FX formulas it is not possible to do what you are asking for, it does not allow converting a date into text

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    You can accept more than one post as a solution

  • Akhila1 Profile Picture
    on at

    Yes, you can achieve with the following 

    Text( Year(UTCNow()), "####" )..Please try and let me know

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard