I hope someone can help me with this one. I need to calculate 3 ratios here: Success Rate, Cancelation Rate, and Failure Rate. To do so, I calculated values of New, Canceled, Completed, In Progress, and Trashed using SELECT COUNT and those values are correct. Then, I calculated the Total by summing them; that value is correct too.
(([@calcfield:3]+[@calcfield:1]+[@calcfield:2])/[@calcfield:6])*100 - This is the formula for Success Rate. It is (New + In Progress + Completed/ Total)*100
([@calcfield:4]/[@calcfield:6])*100 - This is the formula for Cancelation Rate. It is (Canceled/Total)*100
([@calcfield:5]/[@calcfield:6])*100 - This is the formula for Failure Rate. It is (Trashed/Total)*100.
Everything was working fine as, I had only In Progress, New and Completed projects in my Projects table. Here is the screenshot of it.
When I added the test project whose status was Canceled to test this, the rates were incorrect.
Does anyone have any idea why this could happen? When I added the test project which status was New everything was correct again. It looks like there is an issue with formulas when I add the Canceled or Trashed project only, but I cannot figure out why. Thank you all in advance for the support.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Aleksandra
Hello,
I hope someone can help me with this one. I need to calculate 3 ratios here: Success Rate, Cancelation Rate, and Failure Rate. To do so, I calculated values of New, Canceled, Completed, In Progress, and Trashed using SELECT COUNT and those values are correct. Then, I calculated the Total by summing them; that value is correct too.
(([@calcfield:3]+[@calcfield:1]+[@calcfield:2])/[@calcfield:6])*100 - This is the formula for Success Rate. It is (New + In Progress + Completed/ Total)*100
([@calcfield:4]/[@calcfield:6])*100 - This is the formula for Cancelation Rate. It is (Canceled/Total)*100
([@calcfield:5]/[@calcfield:6])*100 - This is the formula for Failure Rate. It is (Trashed/Total)*100.
Everything was working fine as, I had only In Progress, New and Completed projects in my Projects table. Here is the screenshot of it.
When I added the test project whose status was Canceled to test this, the rates were incorrect.
Does anyone have any idea why this could happen? When I added the test project which status was New everything was correct again. It looks like there is an issue with formulas when I add the Canceled or Trashed project only, but I cannot figure out why. Thank you all in advance for the support.
Regards,
Aleksandra
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.