Forum Discussion

ddijstelbloem's avatar
ddijstelbloem
Frequent Visitor
3 years ago

Power bi previous date if blank

Hi, I have 2 different tables, one date table 'Datum"[Date] and one table showing a quantity 'T_Part[InvQty] on a certain date of a certain partcode 'T_Part[Partcode]', both tables are related by date.  If a date is not shown in table T_Part I want it to look up the last InvQty of that part. In this case 15-12-2021 until 21-12-2021 should display 759.70, 25-12-2021 and further should display 687.28. I have found many topic about this but can't find anything that works for me.

 

 

 

If someone could help me out it would be great!

2 Replies