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 / Incompatible Type. The...
Power Apps
Unanswered

Incompatible Type. The 'Date' column in the data source you're updating expects a 'Text' type and you're using a 'Time' type

(0) ShareShare
ReportReport
Posted on by 6

hello, i'm having a problem where it says 
"Incompatible Type. The 'Date' column in the data source you're updating expects a 'Text' type and you're using a 'Time' type

 

this is my function:


Collect(
Leak_Reporting2,
{
Date:
Value(date.Selected.Value) +
Time(
Value(HourValue1_1.Selected.Value),
Value(MinuteValue1_1.Selected.Value),
0
),
'WCAV Unit': wcavunit.Text,
'Reported By:': reportedby.Text,
'Type of Leak': typeofleak.Text,
'MRU': mru.Text,
'Complete Adress(provide house number if possible)': completeaddress.Text,
'Nearest Landmark/Meter Number': nearestlandmark.Text,
'Contact Number(if available)': contactnumber.Text,
'CAN(if available)': can.Text,
'Chlorine Test': chlorinetest.Text,
'Remarks': remarks.Text,
}
)

 

-

I hope you can help me with this.

Categories:
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Check this link:

    https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-datevalue-timevalue

     

    Collect(
    Leak_Reporting2,
    {

    Date:
    DateTimeValue(

    Year(date.Selected.Value),

    Month(date.Selected.Value),

    Day(date.Selected.Value),
    Value(HourValue1_1.Selected.Value),
    Value(MinuteValue1_1.Selected.Value),
    0
    ),
    'WCAV Unit': wcavunit.Text,
    'Reported By:': reportedby.Text,
    'Type of Leak': typeofleak.Text,
    'MRU': mru.Text,
    'Complete Adress(provide house number if possible)': completeaddress.Text,
    'Nearest Landmark/Meter Number': nearestlandmark.Text,
    'Contact Number(if available)': contactnumber.Text,
    'CAN(if available)': can.Text,
    'Chlorine Test': chlorinetest.Text,
    'Remarks': remarks.Text,
    }
    )

     

    I think that should work

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,

    Gonçalo Nogueira

    Check my LinkedIn!

    My website!

    My blog!

  • jofergalope Profile Picture
    6 on at

    still encountering the same error. I tried different approach, but now this is what's happening.

    jofergalope_0-1689604901815.png

     

    This is my condition now:

     

    Collect(
    Leak_Reporting2,
    {
    Date: date.text,
    'WCAV Unit': wcavunit.text,
    'Reported By:': reportedby.text,
    'Type of Leak': typeofleak.text,
    MRU: mru.text,
    'Complete Adress(if possible)': completeaddress.text,
    'Nearest Landmark/Meter Number': nearestlandmark.text,
    'Contact Number(if available)': contactnumber.text,
    'CAN(if available)': CAN.text,
    'Chlorine Test': chlorine.text,
    Remarks: remarks.text
    }
    )

    *chlorinetest,WCAV Unit, and Reported by are all drop down list options
    *CAN is just a normal input text

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    And what about this:

    Collect(
    Leak_Reporting2,
    {
    Date: DateValue(date.text),
    'WCAV Unit': wcavunit.text,
    'Reported By:': reportedby.text,
    'Type of Leak': typeofleak.text,
    MRU: mru.text,
    'Complete Adress(if possible)': completeaddress.text,
    'Nearest Landmark/Meter Number': nearestlandmark.text,
    'Contact Number(if available)': contactnumber.text,
    'CAN(if available)': CAN.text,
    'Chlorine Test': chlorine.text,
    Remarks: remarks.text
    }
    )

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,

    Gonçalo Nogueira

    Check my LinkedIn!

    My website!

    My blog!

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 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard