One of my variables is set to take a numerical amount from a Microsoft Form and multiply it by a specific amount. However, there is a previous question on the form that branches past this question if it does not apply. If this question is not answered, the flow fails because there is no value to input. Is there a way to create an action where if the answer is blank, it will input 0 or tell the variable not calculate?
Solved! Go to Solution.
Could you please share a full screenshot of the configuration of your flow?
You could add a Condition to check if the value is null, if the value is null, set the variable to 0,if no, set the variable with the value.
I have made a test on my side to create the flow as below:
I have save the question 1 answer in the Compose, and check if the compose is null.
The expression in the Condition as below:
When a response is submited,and the question is no answer, the flow would run successfully as below:
Please let me know if your problem could be solved.
Have you had an opportunity to apply @v-yuazh-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!
Thank you for being an active member of the Flow Community!
Flow Community Manager
Thank you for the help! I think I got that part to work. However, it is still failing at the next step when I am trying to multiply the variable by 1.75. I am using the following code:
Here is the error message I get:
Watch Microsoft Business Applications Summit sessions on-demand.
The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
The top training and networking event across the globe for Microsoft Business Applications