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 / Datepicker going to a ...
Power Apps
Unanswered

Datepicker going to a single line of text data source

(0) ShareShare
ReportReport
Posted on by 101

I've set my column type as "Single line of text". Purpose is so that I will be able to set "N/A" default value if date picker in PowerApps is empty.

 

Now, the problem is that I want the columns to show the date format as MM/DD/YYYY, similar with the date picker. But currently it shows YYYY-MM-DD.

 

Data source:

Sharinah1_2-1664708321559.png

Input form powerapps:

Sharinah1_1-1664708270424.png

 

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    on at

    Hi @Sharinah1 ,

     

    You could use this formula to convert the date value to "mm/dd/yyyy" fromat

     

    Text(DatePicker1.SelectedDate,"mm/dd/yyyy")

     

    Best Regards,

    Bof

  • Sharinah1 Profile Picture
    101 on at

    Thank you. Sorry for this question but, may I know where do I put this? I'm assuming under Update option of the datepicker?

  • v-bofeng-msft Profile Picture
    on at

    Hi @Sharinah1 ,

     

    If the data picker is in a form,  you could set the datacard's Update property to

    Text(DatePickerName.SelectedDate,"mm/dd/yyyy")
    

     

    Best Regards,

    Bof

  • Sharinah1 Profile Picture
    101 on at

    Thank you. Added it already but this shows in my SP List.

    Sharinah1_0-1664763332412.png

     

  • v-bofeng-msft Profile Picture
    on at

    Hi @Sharinah1 ,

     

    Could you please show me more details about your canvas app?

     

    How do you submit the record? Could you please show me the formula?

     

    Best Regards,

    Bof

  • Sharinah1 Profile Picture
    101 on at

    Hello thanks so much. Just a Submit button for Form3_2. OnSelect function is below syntax.

    Sharinah1_0-1664775904514.png

    then here is when I applied the formula on Update property of datepicker datacard

    Sharinah1_1-1664775971719.png

     

  • v-bofeng-msft Profile Picture
    on at

    Hi @Sharinah1 ,

     

    It looks fine. Is 'Close Out Date #1' a single-line-of-text column? Could you please refresh the data source and try again? If it not work, please consider re-add the form.

     

    Best Regards,

    Bof

  • Sharinah1 Profile Picture
    101 on at

    Yes, single line of text. I'll refresh and see.

    Sharinah1_0-1664778267544.png

     

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