cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RameshMukka
Continued Contributor
Continued Contributor

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

 

View solution in original post

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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,257)