I'm trying to calculate percentage from two variable as below, please advice how to get the result as below.
Go to Solution.
You can convert the integers to floats in an expression. With the add and div functions you can calculate the result. With formatnumber you can turn it into a percent format (P).
Below is an example expression:
formatnumber(div(float(variables('TotalPass')), add(float(variables('TotalPass')),float(variables('TotalFailed')))), 'P')
View solution in original post
Keep up to date with current events and community announcements in the Power Automate community.
Check out the latest Community Blog from the community!