Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
User | Count |
---|---|
23 | |
12 | |
10 | |
10 | |
8 |
User | Count |
---|---|
16 | |
15 | |
14 | |
13 | |
10 |