📜  dax 计数基于 2 列不同 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:29.843000             🧑  作者: Mango

代码示例1
--Without filters
Measure1 = COUNTROWS(GROUPBY(User,User[FNAME],User[Card ID],User[Health ID],User[Gender]))
--With filters
Measure2 = COUNTROWS(FILTER(GROUPBY(User,User[FNAME],User[Card ID],User[Health ID],User[Gender]),User[Gender]="M"))