Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All,
As shown in the below table, we need to get the total as the latest data
for x row, Day 5 45 is the latest
for y row, Day 3 40 is the latest
for z row, Day 2 12 is the latest
| Day 1 | Day 2 | Day 3 | Day 4 | Day 5 | Total | |
| x | 40 | 42 | 40 | 41 | 45 | 45 |
| y | 40 | 40 | ||||
| z | 11 | 12 | 12 |
How to achieve this with the DAX?
Thanks in advance
=LASTNONBLANKVALUE(Table[Days],SUM(Table[Value]))
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 9 | |
| 8 |