cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RameshMukka
Post Prodigy
Post Prodigy

Set Float Variable to Blank

I have a flow where am calculating Legal Fees and storing the value in variable called varLegalFees. I would like to set it to Blank at some point but the flow says value is required. I tried null but its not working for obvious reasons. How can I reset the value of Float or Integer variable to blank if its already having a value. Thanks a lot in advance

RameshMukka_0-1621450796304.png

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-LilyW-msft
Community Support
Community Support

Hi @RameshMukka 

Thank you for posting.

When you initialize a variable, if the data type is String or Array, it can be reset to null. Unfortunately, if the data type is Float or integer, its value will be set to 0 by default, so it can not be reset to null.

You can use Condition to judge whether the value of the variable is 0, and proceed to the next step according to the judgment result.

v-LilyW-msft_0-1621493070677.jpeg

 

Hope the content above may help you.

Best Regards

Lily

 

View solution in original post

2 REPLIES 2
v-LilyW-msft
Community Support
Community Support

Hi @RameshMukka 

Thank you for posting.

When you initialize a variable, if the data type is String or Array, it can be reset to null. Unfortunately, if the data type is Float or integer, its value will be set to 0 by default, so it can not be reset to null.

You can use Condition to judge whether the value of the variable is 0, and proceed to the next step according to the judgment result.

v-LilyW-msft_0-1621493070677.jpeg

 

Hope the content above may help you.

Best Regards

Lily

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

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

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,911)