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 / ClearCollect for Date ...
Power Apps
Unanswered

ClearCollect for Date value is not working

(0) ShareShare
ReportReport
Posted on by 23

I have a table in SQL server with column types as 'Int', 'String', 'Date'. On initial load of the app, i will collect all the table data and date value is coming correctly. I will edit data in Form for the table and submits form. So i will use 'ClearCollect'. All other data is coming perfectly, but Date value is coming as NULL. But in backend there is some data

Categories:
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Nanjundan,

     

    So the Date field is in 'Date' type?

    There are some known issues with the ''Date' type field.

    Please take a try to add a 'datetime' type field, see if that would help.

    Adding a thread for reference (Issue also insists under SQL Server on-premise, confirmed):

    Date, DateTime, SQL AZURE

    Response from Staff Eric:

    "

    There is currently a known issue with the Date field type for SQL Azure where the Date will not display on PowerApps. Our team has identified the issue and the fix should be out soon (within the next release or two). Please use DateTime in the meantime. 

     

    Thanks,

    Eric. Software Engineer. PowerApps Staff

    "

    Regards,

    Michael

  • Meneghino Profile Picture
    6,949 on at

    Hi @v-micsh-msft, please allow me to make a few comments.

     

    Substituting a date type field by a datetime field unleashes a host of larger problems related to time zones.  This means that someone's birthday will be different to different people depending on their timezone settings.  This is why support for a date column is needed.  Also you currently cannot filter datetime fields with > or < hence cannot filter datetime periods.  I understand that you are working on this, so will patiently wait for a resolution.

     

    In the meanwhile a better fix is to use an integer field and store the date as yyyymmdd.  This way you do not have to deal with time zones and you can search for time periods. A little bit of parsing is needed, but there are numerous posts on this by me.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard