Forum Discussion
Edmundas
3 years agoFrequent Visitor
Simple countif
Hi everyone,
I'm quite new on Power BI. Could you please help me to write formula in Power BI column (COUNTIF formula in picture below). Thank you in advance.
Hi,
Please check the below picture and the attached pbix file.
It is for creating a new column.
Expected result CC = COUNTROWS ( SUMMARIZE ( FILTER ( Data, Data[Employee] = EARLIER ( Data[Employee] ) && Data[Employee] IN DISTINCT ( Data[Random name] ) ), Data[Employee] ) ) + 0
4 Replies
- EdmundasFrequent Visitor
Thanks guys, both formulas worked!!!
- BeaBFSuper User
- BeaBFSuper User
- Jihwan_KimSuper User
Hi,
Please check the below picture and the attached pbix file.
It is for creating a new column.
Expected result CC = COUNTROWS ( SUMMARIZE ( FILTER ( Data, Data[Employee] = EARLIER ( Data[Employee] ) && Data[Employee] IN DISTINCT ( Data[Random name] ) ), Data[Employee] ) ) + 0