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 / Can I concatenate 2 Da...
Power Apps
Unanswered

Can I concatenate 2 Date fields in a calculated column in Dataverse?

(0) ShareShare
ReportReport
Posted on by 72

Hi, 

I am a new Dataverse user and looking for help here.

 

I have created a table (in Dataverse) and 2 columns by type Date Only: RA_EstimatedEntry and RA_EstimatedLeave

Now I need one more column to show a concatenation of these 2 dates like a period. Should I use a calculation for this? How?

 

For example, 

RA_EstimatedEntry - 01.01.2022

RA_EstimatedLeave - 15.01.2022

Period: 01.01.2022 - 15.01.2022

 

Thank you in advance!!! 😀

I have the same question (0)
  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @ArisTale 

    Unfortunately you can't use calculated column for this purpose, so alternatively you can create a new text column called Period and use a power automate flow on When a record is created and Set the field using a concatenate compose data operation (This is in case you do not want the change to be reflected immediately on the form)

    Alternatively you can use a synchronous process - Workflow

    Below is the sample of the work flow:

    Mira_Ghaly_2-1648851959862.png

     

    Mira_Ghaly_1-1648851827821.png

    My recommendation is if you want it to be synchronous (immediate reflection) use Process as above , otherwise use Power automate as it will give you more flexibility if you wanna modify the format of the date.

     

    Hope this gives you an idea and let me know if you need more help!

     

     

  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at

    Hello @ArisTale 

     

    As per CALCULATED FIELD, you can use only date and time for Calculation, 

     

    Link for your reference : https://community.dynamics.com/crm/b/meganwalker/posts/difference-between-two-dates-with-calculated-fields

     

    Else as suggessted by @Mira_Ghaly  we are good to go with Realtime Workflow, else you can go with JavaScript.

     

    Please mark as Answer if it is helpful and provide Kudos

     

    Subscribehttps://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA

    Blog : https://microsoftcrmtechie.blogspot.com

     

     

  • ArisTale Profile Picture
    72 on at

    Hi Mira,

     

    Where can I find this Process settings? 

     

    Regards,

    Alexandra

  • ArisTale Profile Picture
    72 on at

    Hi,

    Can you elaborate more on Javascript? Any working solution?

     

    Regards,

    Alexandra

  • Verified answer
    Mira Ghaly Profile Picture
    11,413 Moderator on at

    @ArisTale 

    Go to make.powerapps.com and open your solution and click add new item , Automation - process -workflow 

    And you can learn more about realtime workflows from the link below:

    https://docs.microsoft.com/en-us/power-apps/maker/data-platform/configure-workflow-steps

     

     

     

     

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