The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. 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
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
21 | |
18 | |
16 | |
15 | |
14 |
User | Count |
---|---|
39 | |
32 | |
22 | |
19 | |
18 |