Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I'm trying to write a measure which shows the most recent non-empty value.
My data looks like:
Year Start Date | Value | Target |
1/1/19 | 2 | 6 |
1/1/20 | 0 | 5 |
1/1/21 | 1 | 4 |
1/1/22 | 3 |
Hi,
Shouldn't you just be using:
MyMeasure =
LASTNONBLANK ( 'Table'[Value], 1 )
Regards
Hi @rachellek
You can sort the date... as descending and apply Is not blank filter on the value.
Thanks!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
43 | |
23 | |
21 | |
15 | |
15 |
User | Count |
---|---|
45 | |
31 | |
30 | |
18 | |
17 |