cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sgr
Helper I
Helper I

Dynamic HTML Table Data error

Through flow i have dynamic HTML table.  got total expenses and budget from dynamic HTML table. 

i tried to calculate  sum and percentage from below formula but I got error in dividing..
It shows below error.

 
 

1.JPG2.JPG

 

mul(div(float(variables('TodateExpenses')),float(variables('Budget'))),100)
 
It's seems it is trying to divide empty body field. Is there way out?
 
Any tips?
1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User III
Super User III

Hi @sgr 

 

Add an If condition to check variables('Budget') is null or use an expression to check the length > 0 of variables('Budget').

 

Thanks

 

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

2 REPLIES 2
abm
Super User III
Super User III

Hi @sgr 

 

Add an If condition to check variables('Budget') is null or use an expression to check the length > 0 of variables('Budget').

 

Thanks

 

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

you are correct, some time solution is so simple but we overlooked. thank you for your suggestion. 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,912)