Forum Discussion
julied
8 years agoFrequent Visitor
COUNTIF equivalent in DAX using mathematical operators
I'm trying to create a measure in PowerBI that will do the same thing as this Excel formula: =COUNTIF(J2:J378,"<=7")/COUNT(J2:J378) Basically, I have a column with values for the number of days ...
- 8 years ago
Hi julied
Try this one
Tim7Days = COUNTROWS ( FILTER ( 'Timeliness Query', 'Timeliness Query'[R2CinDays] <= 7 ) )
Zubair_Muhammad
8 years agoCommunity Champion
Hi julied
Try this one
Tim7Days = COUNTROWS ( FILTER ( 'Timeliness Query', 'Timeliness Query'[R2CinDays] <= 7 ) )
julied
8 years agoFrequent Visitor
Yes, that worked! Thank you.