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.
- 3 years ago
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
Jihwan_Kim
Super User
3 years agoHi,
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