Forum Discussion
akwang
8 years agoAdvocate II
Countif DAX
Hi I have a table with a column for order status which could either be "on time" or "delayed". I want to create a MEASURE for Total Orders delayed that will tell me how much orders were delayed. In e...
- Anonymous8 years ago
CALCULATE and FILTER are the first two things you need to learn about DAX.
Measure = CALCULATE( COUNT(TableName[Column That Identifies Unique Orders]), FILTER( TableName, TableName[Delay Status] = "On Time" || TableName[Delay Status] = "Delayed" ) )
Anonymous
8 years agoNot applicable
CALCULATE and FILTER are the first two things you need to learn about DAX.
Measure = CALCULATE( COUNT(TableName[Column That Identifies Unique Orders]), FILTER( TableName, TableName[Delay Status] = "On Time" || TableName[Delay Status] = "Delayed" ) )