Forum Discussion
DieLem
8 years agoHelper II
CountIf Calculations
Hi All,
I have a fundamental issue that I am sure is very simple but I can't seem to find a solution.
Here is a sample table with data:
| OrderID | Delay (Days) |
| 1 | 3 |
| 2 | 5 |
| 3 | 8 |
| 4 | 9 |
| 5 | 2 |
| 6 | 5 |
I want to determine how many orders have a delay bigger that 7, devided by the total number of orders. Thus it should be:
[2 (The count of 8 and 9)]/[6 (Count of total entries)] = 33%.
Thanks for the help!
Hi DieLem
Try this MEASRE
MEasure = COUNTROWS ( FILTER ( TableName, TableName[Delay (Days)] > 7 ) ) / COUNTROWS ( TableName )
2 Replies
- Zubair_MuhammadCommunity Champion
Hi DieLem
Try this MEASRE
MEasure = COUNTROWS ( FILTER ( TableName, TableName[Delay (Days)] > 7 ) ) / COUNTROWS ( TableName )- DieLemHelper II