The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |