I'm trying to calculate percentage from two variable as below, please advice how to get the result as below.
Solved! Go to Solution.
Hi @raneesh_mr,
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')
Hi @raneesh_mr,
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')
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
User | Count |
---|---|
23 | |
20 | |
9 | |
9 | |
8 |
User | Count |
---|---|
39 | |
30 | |
26 | |
23 | |
12 |