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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 73 | |
| 66 | |
| 65 |