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?

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 Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,591)