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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi There,
I am trying to get a measure that counts the last consecutively missed appointments in a dataset that looks like in the screenshot below. Essentially, the measure should count all missed appointments (MissedAppt = Yes) since the last appointment that was not missed (MissedAppt = No). I appreciate any help you can provide with this.
Regards
Solved! Go to Solution.
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
something like this I Guess
consecutively missed appointments for ID=
VAR lnmap = CALCULATE(MAX(Table[Date]),Table[MissedAppt]="No")
VAR smap = IF(ISBLANK(lnmap),DATE(1900,1,1),lnmap)
RETURN IF(HASONEVALUE(Table[ID],CALCULATE(COUNTROWS(Table), Table[Date]>smap, Table[MissedAppt]="Yes"))
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 |
|---|---|
| 9 | |
| 9 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 21 | |
| 20 | |
| 20 | |
| 14 | |
| 14 |