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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I need help, I'm having issues with a measure, I have a table like this
I need a measure that brings me the last date with accidents, in this case 3/28/2021, and also the previous date with accidents.
I have this measure but for some reason it does not bring any date back
Last Date = calculate(MAX(RA[Date]),filter(RA,RA[Accidents]>0))
Also tried
Last Date = CALCULATE(MAX( RA[Date] ),FILTER( ALL( RA ), RA[Acidents] > 0 ))
but also does not work
It may be something with the filtres.
Please advise I need help
Solved! Go to Solution.
I just needed to use all instead of allselected
Thanks a lot for the help
Same issue, still not showing the last date.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 43 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 24 |