question

82262648 avatar image
0 Votes"
82262648 asked JoyZ commented

Help with turning text to number

Hello,

I have a microsoft List being fed from a Microsoft Form. The Microsoft Form has a yes/no question that branches into a question which requires a "number" answer. However, when the answer is 'no' a 'number' isn't generated therefore throwing off the flow. I was trying to create a if statement that isn't working in my flow (see below). Thanks in advance for the help. I also tried to turn the question into a number, but this wasn't working as well (I probably wasn't entering it correctly)


124765-image.png


office-sharepoint-online
image.png (63.2 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JoyZ avatar image
0 Votes"
JoyZ answered JoyZ commented

@Rvass-7621,

Consider using Condition to verify the branch value in flow:

125022-image.png

In addition, we could add a compose to store the question value, then use float(outputs('Compose')) to turn text to number.


If an Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (51.1 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I think the second one might be easier, would it be entered as shown below?


125116-image.png


0 Votes 0 ·
image.png (58.1 KiB)

@Rvass-7621,

Yes, please try it to check the result.

0 Votes 0 ·

@Rvass-7621,

I’m checking how the things are going on about this issue.

Please feel free to reply if there is any update.

0 Votes 0 ·