Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I am trying to fetch the row with the condition that:
if the data is 'equal to' then that row;
else the recent most previous date
So in this case I would want the row with the date 1/12/2021 for 1/03/2023. Had there been the same date 1/03/2023 in the bottom table then I would want to pick that row.
Solved! Go to Solution.
sounds good. What have you tried and where are you stuck?
sounds good. What have you tried and where are you stuck?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 4 |