I have a rather large table in PowerBI that looks as follows:
| Date1 | ID1 | ID2 | Date2 | Amount1 | Amount2 | Amount3 |
|---|---|---|---|---|---|---|
| 04.02.2022 | 1234 | 12 | 04.02.2022 | 5 | 3 | 8 |
| 04.02.2022 | 1234 | 13 | 04.02.2022 | 5 | 3 | 8 |
| 04.02.2022 | 1235 | 14 | 04.02.2022 | 6 | 3 | 9 |
| 06.02.2022 | 1234 | 10 | 06.02.2022 | 20 | 23 | 46 |
| 06.02.2022 | 1238 | 11 | 06.02.2022 | 20 | 23 | 46 |
| 06.02.2022 | 1238 | 14 | 06.02.2022 | 26 | 23 | 49 |
As in the case above, if e.g. 05.02.2022 is missing, I would like my end result to look like
| Date1 | ID1 | ID2 | Date2 | Amount1 | Amount2 | Amount3 |
|---|---|---|---|---|---|---|
| 04.02.2022 | 1234 | 12 | 04.02.2022 | 5 | 3 | 8 |
| 04.02.2022 | 1234 | 13 | 04.02.2022 | 5 | 3 | 8 |
| 04.02.2022 | 1235 | 14 | 04.02.2022 | 6 | 3 | 9 |
| 05.02.2022 | 1234 | 12 | 05.02.2022 | 5 | 3 | 8 |
| 05.02.2022 | 1234 | 13 | 05.02.2022 | 5 | 3 | 8 |
| 05.02.2022 | 1235 | 14 | 05.02.2022 | 6 | 3 | 9 |
| 06.02.2022 | 1234 | 10 | 06.02.2022 | 20 | 23 | 46 |
| 06.02.2022 | 1238 | 11 | 06.02.2022 | 20 | 23 | 46 |
| 06.02.2022 | 1238 | 14 | 06.02.2022 | 26 | 23 | 49 |
Which means that everything from 04.02.2022 is copy pasted, just with a new date, 05.02.2022.
There are also cases where no data is available for 2 or 3 days, so in those instances I would need the all data from the last known date, until we have data again.
Does someone know how to implement this in PowerBI?
Thank you!

