Forum Discussion
Get global coverage based on conditions
- Anonymous9 years ago
HI Janet_PHQ,
Perhaps you can try to use below formulas to calculate the percent festivals and expos if they suitable for your requirement.
count of festivals and expos %(exclude US)= DIVIDE(CALCULATE(Count([Count]),FILTER(ALL(Table1),AND([Category]="festivals",[Category]="expos")&&[CountryCode]<>"US")) ,COUNTAX(ALL(Table1),[Category]),0) Count of festivals or expos %(exclude US)= DIVIDE(CALCULATE(Count([Count]),FILTER(ALL(Table1),OR([Category]="festivals",[Category]="expos")&&[CountryCode]<>"US")) ,COUNTAX(ALL(Table1),[Category]),0)
BTW, I found your category column only store single category each row, how did you calculate the count of event who contains multiple categories?
Regards,
XIaoxin Sheng
HI Janet_PHQ,
Perhaps you can try to use below formulas to calculate the percent festivals and expos if they suitable for your requirement.
count of festivals and expos %(exclude US)= DIVIDE(CALCULATE(Count([Count]),FILTER(ALL(Table1),AND([Category]="festivals",[Category]="expos")&&[CountryCode]<>"US")) ,COUNTAX(ALL(Table1),[Category]),0) Count of festivals or expos %(exclude US)= DIVIDE(CALCULATE(Count([Count]),FILTER(ALL(Table1),OR([Category]="festivals",[Category]="expos")&&[CountryCode]<>"US")) ,COUNTAX(ALL(Table1),[Category]),0)
BTW, I found your category column only store single category each row, how did you calculate the count of event who contains multiple categories?
Regards,
XIaoxin Sheng
Hello XIaoxin ,
Thanks for your reply! I will try it soon :)
Each event only has a single category so there is no need to worry about that.
Cheers,
Janet