Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
I have data that among other things contains names and Offer/Reject action. I want to find how many names are in each action Reject or Accept. I can create 2 seperate measures for both actions and do distinctcount to count each individually. But that results in some doublecounting as some name are first reject and then offered so are counted seperately.
I want to count them seperately only but need to remove if they were in the other action before.
Take John as an example below. He appears 4 times, 2 reject and 2 offered. I created a measure of Distinctcount and filtered by action. so I get 1 in offer and 1 in reject. I only want 1, based on the newest entry.
Thanks!!
| Date | Name | Action |
| 1 Feb | John | Reject |
| 1 Feb | John | Reject |
| 2 Feb | Adam | Reject |
| 2 Feb | Robert | Offer |
| 3 Feb | John | Offer |
| 4 Feb | Mike | Reject |
| 4 Feb | Mike | Offer |
| 5 Feb | John | Offer |
Solved! Go to Solution.
Hi,
I am not quite sure which action does Mike belong to. On the same day, Mike's result is Reject and Offer.
I guess Mike belongs to both, and the below calculation shows like this.
Please check the attached pbix file.
Hi,
I am not quite sure which action does Mike belong to. On the same day, Mike's result is Reject and Offer.
I guess Mike belongs to both, and the below calculation shows like this.
Please check the attached pbix file.
Sorry for not making the sample properly. Mike belongs to the Offered action. I think date/time datatype can solve that. The solution itself if working. Thank You!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |