Forum Discussion
lmat
6 years agoFrequent Visitor
Creating a count measure with OR
Hi, I am new to PowerBI and am working on a dashboard a previously colleague made. There is one measure I am unsure if working as intended. I would like to count all the users who have been in a ...
amitchandak
6 years agoSuper User
Try
EngagedUsers = CALCULATE(COUNTROWS(FILTER(SUMMARIZE(filter('edw FactUsage','edw DimFeature'[FeatureName] in {"Action Cards","Drug List","klpAnswer","klpResult","klpStart","Practical Procedures","Video Chapter","videoFull"}),[AppId],"ABCD",[UniqueSessionsCount]),[ABCD]>5)))lmat
6 years agoFrequent Visitor
Unfortunately it doesn't work. I end up with :
- amitchandak6 years agoSuper User
Try like
EngagedUsers = CALCULATE(COUNTROWS(FILTER(SUMMARIZE(calculatetable('edw FactUsage','edw DimFeature'[FeatureName] in {"Action Cards","Drug List","klpAnswer","klpResult","klpStart","Practical Procedures","Video Chapter","videoFull"}),[AppId],"ABCD",[UniqueSessionsCount]),[ABCD]>5)))