Hesloan Viana Posted June 3, 2019 Share Posted June 3, 2019 I want to create a calculated value in Text Area that show me % of a column with a certain status over all status. How can i do this Example: Protocol Value Status 1 22 A 2 12 A 3 87 B 4 78 B 5 35 C Count([Protocol]) of Status 'A' / Count([Protocol]) of all status, and show this like a percent. Sum([Value]) of Status 'A' / Sum([Value]) of all status. Link to comment Share on other sites More sharing options...
Khushboo Rabadia Posted June 5, 2019 Share Posted June 5, 2019 You can use conditional statement in your ifrst clause like count(case when [status]='A' then 1 end)/count([protocol]) Same applies while summing up the value column. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now