Join 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!View all the Fabric Data Days sessions on demand. View schedule
Hi all,
wanted to count the distinct Lead_id when it changed it state from qualified to Inactive.
attached image for refrence
@rohit18 , You can have a flag column like
New column =
var _date = maxx(filter(Table, [ID] = earlier([ID]) && [Date] < earlier([date]) && [Change] = "Qualified") , [Date])
return
if( [Change] = "Inactive" && not(Isblank(_date)) ,1, 0)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 18 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 21 | |
| 13 | |
| 12 |