cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Incompatible type when using OnSelect Collect function

Hi Community,

 

I am very new to PowerApps and self-learning along the way, and would appreciate any help. Thank you!

 

I want to use PowerApps to populate my datasource, and have created a "Create" button. With this "Create" button, I have used OnSelect and the Collect function. However I am getting the following message.

 

"Incompatible Type. The 'Title' column in the data source you're updating expects a 'Text' type but you're using a 'Control' type."

I was trying to insert .text after the Title_DataCard1 but there is no such option, which I think is because of the error?

 

incompatible type.jpg

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Advocate IV
Advocate IV

Re: Incompatible type when using OnSelect Collect function

Hi @elleeyl ,

 

the screenshot is very hard to read.

 

Do you have a better one?

 

Edit:

Ahh, got it....

 

You may not use the DataCard. Use the Control under the DataCard:

 

PowerApps-Datacard.png

This DataCardValue8 is a Textbox that has a Property "Text".

 

 

Stefan

View solution in original post

Highlighted
Dual Super User III
Dual Super User III

Re: Incompatible type when using OnSelect Collect function

Hi @elleeyl 

 

Instead of referring to the Title_DataCard1, you need to select the individual control, which should be like DataCardValue12, this can be retrieved by expanding the datacard in left menu. Please make sure that you are selecting correct control.
 
Expression: DataCardValue12.Text
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

4 REPLIES 4
Highlighted
Advocate IV
Advocate IV

Re: Incompatible type when using OnSelect Collect function

Hi @elleeyl ,

 

the screenshot is very hard to read.

 

Do you have a better one?

 

Edit:

Ahh, got it....

 

You may not use the DataCard. Use the Control under the DataCard:

 

PowerApps-Datacard.png

This DataCardValue8 is a Textbox that has a Property "Text".

 

 

Stefan

View solution in original post

Highlighted
Dual Super User III
Dual Super User III

Re: Incompatible type when using OnSelect Collect function

Hi @elleeyl 

 

Instead of referring to the Title_DataCard1, you need to select the individual control, which should be like DataCardValue12, this can be retrieved by expanding the datacard in left menu. Please make sure that you are selecting correct control.
 
Expression: DataCardValue12.Text
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Highlighted
Helper III
Helper III

Re: Incompatible type when using OnSelect Collect function

Got it. Thanks for your prompt response, @StefanR !

Highlighted
Helper III
Helper III

Re: Incompatible type when using OnSelect Collect function

Got it. Thanks for your prompt response, @yashag2255 !

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,384)