Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
11 | |
11 | |
10 | |
6 |