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

Can not change type to Float from dynamic content

I am trying to take an answer to a form and convert to a float in order to check if it is less than another float value. All of the other values from the Form convert to a float just fine it is just one of them that does not want to convert to a float. I tried deleting the question on the form and entering a new one (restricting it to just numbers). I ensured there were no letters or spaces in the answer and still no luck. Does anyone know what else could be causing this? This is the code that is in the compose box "floats weekly demand" 

float(outputs('Get_response_details_2')?['body/r50dd660573704e819349a9e80170675d'])

Austin3_0-1627403815247.png

Any help or guidance would be greatly appreciated!

 

1 ACCEPTED SOLUTION

Accepted Solutions
happyume
Solution Sage
Solution Sage

It seems your error is at runtime and not at the stage when you are building the Flow. If you look at outputs of the "Get Response Details" - can  you see what is the datatype of the output that you are getting?

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. If this post helped you in troubleshoot or other ways, then please hit the Thumbs Up button.

View solution in original post

2 REPLIES 2
happyume
Solution Sage
Solution Sage

It seems your error is at runtime and not at the stage when you are building the Flow. If you look at outputs of the "Get Response Details" - can  you see what is the datatype of the output that you are getting?

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. If this post helped you in troubleshoot or other ways, then please hit the Thumbs Up button.

View solution in original post

Austin3
Frequent Visitor

looking at the data I was pulling in from forms I discovered I was using the wrong response and therefore the question I was trying to convert to a float did not have a answer. Fixing this solved my issue. Thank you for pointing me in the right direciton!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,678)