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
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]))
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 35 | |
| 31 | |
| 20 | |
| 13 | |
| 10 |