Forum Discussion
lilySixteen
6 years agoHelper III
rate calculation formula
Hello, I have a tenant table to show tenant data for every shopping center. Every shopping center has a # of units that can be rented to tenants. In the "tenant name" column it contains value "Va...
- 6 years ago
lilySixteen , Something like this
divide(calculate(countrows(Table), filter(Table,Table[tenant name]="Vacant")),countrows(Table))No need multiple by 100, Mark as % column
nvprasad
6 years agoSolution Sage
Hi,
Try below formula
Vacancyrate =
DIVIDE (
CALCULATE ( COUNTROWS ( tablename ), tablename[tenant name] = "Vacant" ) * 100,
COUNTROWS ( ALL ( tablename ) ),
0
)
Thank You,
Venkata Nalla
lilySixteen
6 years agoHelper III
nvprasad Thank you for helping me. Your answer is correct when calculating the total but not when calculate by shopping center. Thanks again for providing your answer!