cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
thebigmic
Frequent Visitor

Text from form gets converted into random number like 1626782880000

Form and formulaForm and formularesults in sharepointresults in sharepoint

I have a powerapps form linked to a sharepoint list.

I need to take the output of those 2 dropdown lists and put it in the list in that format, I keep hitting my head against the wall. Why did the text from the form convert to that type of output(pic2), in theformula I can see the output that I need, but for some reason I keep getting that semi random string of numbers.

Please help, I want to pull my hair out!

2 ACCEPTED SOLUTIONS

Accepted Solutions
WarrenBelz
Super User
Super User

HI @thebigmic , 

This should work

Text(
    HourValue1.Selected.Value,
    "##"
) & ":" & Text(
    MinuteValue1.Selected.Value,
    "##"
)

Assuming of course the field in SharePoint is a Single Line of Text.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

v-qiaqi-msft
Community Support
Community Support

Hi @thebigmic,

Do you mean that the 'Start Time' column is a single-line-of-text to save your concatenated string?

Could you please share a bit more about your scenario?

I have a test on my side, please take a try as below.

I generate an Edit Form based on the data source directly, the control corresponding to the 'Start Time' column is a TextInput within the form. I delete it and replace with two Dropdown, one for HourValue1 and another for MinuteValue1.

vqiaqimsft_0-1626852397808.png

Please check the screenshot as above. Here is the test result.

vqiaqimsft_1-1626852505673.png

 

 

Best Regards,
Qi

View solution in original post

5 REPLIES 5
zmansuri
Super User
Super User

Column type in sharepoint?

---------------------------------------------------------------------------------------------------------------------------


Was I helpful? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. It will help other users to find it faster.

follow me on Twitter @zmansuri123,
connect with me on LinkedIn from Here

Single line of text

WarrenBelz
Super User
Super User

HI @thebigmic , 

This should work

Text(
    HourValue1.Selected.Value,
    "##"
) & ":" & Text(
    MinuteValue1.Selected.Value,
    "##"
)

Assuming of course the field in SharePoint is a Single Line of Text.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

v-qiaqi-msft
Community Support
Community Support

Hi @thebigmic,

Do you mean that the 'Start Time' column is a single-line-of-text to save your concatenated string?

Could you please share a bit more about your scenario?

I have a test on my side, please take a try as below.

I generate an Edit Form based on the data source directly, the control corresponding to the 'Start Time' column is a TextInput within the form. I delete it and replace with two Dropdown, one for HourValue1 and another for MinuteValue1.

vqiaqimsft_0-1626852397808.png

Please check the screenshot as above. Here is the test result.

vqiaqimsft_1-1626852505673.png

 

 

Best Regards,
Qi
thebigmic
Frequent Visitor

@WarrenBelz @v-qiaqi-msft Hi, thanks for the replies! I found a somewhat dirty workaround, I deleted the original data cards and added new ones based on the same Start Time column from SharePoint, then basically did what @v-qiaqi-msft suggested, but with only 1 dropdown list with the times in 5 min increments (I think I'll get carpal tunnel from it). I also tried @WarrenBelz suggestion, but I was getting the same type of output(It has to be some kind of bug). I think both solutions could work if PowerApps wasn't bugged out.

#For future people whit the same problem as me, try deleting the data cards and do what Qi and Warren suggested!#

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,432)