Powerbi 计算power bi中所有字段中具有特定值的不同用户数

Powerbi 计算power bi中所有字段中具有特定值的不同用户数,powerbi,dax,powerbi-desktop,Powerbi,Dax,Powerbi Desktop,我是power BI的初学者。所以,如果这是一个基本问题,请原谅 我有这样的数据: User1 - Task A - Complete User1 - Task B - InComplete User1 - Task C - Complete User 2 - Task A - Complete User 2 - Task B - Complete User 2 - Task C - Complete 现在,我想获得列表中已完成power BI中所有任务的不同用户的数量。因此,对于上面的示例,

我是power BI的初学者。所以,如果这是一个基本问题,请原谅

我有这样的数据:

User1 - Task A - Complete
User1 - Task B - InComplete
User1 - Task C - Complete
User 2 - Task A - Complete
User 2 - Task B - Complete
User 2 - Task C - Complete
现在,我想获得列表中已完成power BI中所有任务的不同用户的数量。因此,对于上面的示例,只有一个用户(User2)完成了所有三个任务。我有7个这样的任务和数千个用户,如何获得完成所有任务的不同用户的数量,类似于DAX公式

Users with 7 complete tasks =
COUNROWS ( // This counts rows in a table.
  FILTER ( // Filter takes a table and a predicate. It returns only rows that match the
           // predicate.
    VALUES ( 'Table'[User] ), // list of unique users in context
    // Below, we calculate the rows for the current user where 'Table'[Status] is
    // complete. I'm making an assumption on column names. The count will be 7
    // iff the user has 7 rows with 'Table'[Status]="Complete".
    CALCULATE ( COUNTROWS ( 'Table' ), 'Table'[Status] = "Complete" ) = 7
  )
)
对于特定用户,
COUNTROWS
将返回1或空白。它将返回满足总计7个完成任务标准的用户计数

对于特定用户,
COUNTROWS
将返回1或空白。它将返回满足总计7个完成任务标准的用户计数