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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I would like to build some measures that will show the Second Last and Third last values, so I can use them lately in a formula. I have two years of dat, 2013, 2014 with 4 readings in 2013 and 3 readings in 2014. I created the measures for first value and last value and they work fine. But when I calculated second last and thirdlast values when visualize, it doesn't show all values. Here is the table with all data
and the table when using the measures, with a slicer for year. As you can see is that for 2013, second and third last values doesn't show all values. Not sure why. Any help is much appreciated. Thank you.
Here are the measures I used. I would like to insert the .pbix file, but not sure how.
Solved! Go to Solution.
Hi @v-easonf-msft ,thank you for looking into it. I figured that was the case so I digged into the dataset example and I found multiple values for same dates, I cleaned it and it works. Lesson learned. Much appreciate your reply. Thank you
Hi, @Anonymous
No obvious problems were found in the formula. I may need more details.
You can upload your sample file to cloud storage and share the public link here.
Best Regards,
Community Support Team _ Eason
Hi @v-easonf-msft ,thank you for looking into it. I figured that was the case so I digged into the dataset example and I found multiple values for same dates, I cleaned it and it works. Lesson learned. Much appreciate your reply. Thank you
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 |
|---|---|
| 104 | |
| 82 | |
| 72 | |
| 46 | |
| 35 |