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! It's time to submit your entry. Live now!
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?
| User | Count |
|---|---|
| 16 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |