The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
Solved! Go to Solution.
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
Thanks guys, both formulas worked!!!
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
User | Count |
---|---|
24 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
9 | |
9 |