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
I have a column of dates (not continuous)
| File Date |
| 4/10/2023 |
| 4/3/2023 |
| 4/6/2023 |
| 4/1/2023 |
| 4/25/2023 |
| 3/21/2023 |
I want to make a calculated column that returns the latest date in the column that is before than the current file date.
| File Date | Previous Date |
| 4/10/2023 | 4/6/2023 |
| 4/3/2023 | 4/1/2023 |
| 4/6/2023 | 4/3/2023 |
| 4/1/2023 | 3/21/2023 |
| 4/25/2023 | 4/10/2023 |
| 3/21/2023 | BLANK |
However I can't figure out how to filter a column by value in it's own row without creating a circular dependency. In my code below, is there a way to make 'Table1'[File Date] refer to the [File Date] column on the left, and the current row value on the right?
Solved! Go to Solution.
hi @agudis
try like:
hi @agudis
try like:
Works great, thank you!
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 |