I work with a inventory software and I want a report to follow this inventory monthly. I made it but I can only follow it live using another date column in another table which is "received batch" date. I want to be able to come back in the last month to see what the inventory looked like at this time.
In a table I have all the products with a column for the date of entry in the inventory (InDate) end another column for the date of expedition (OutDate) of each products (2099-12-31 if its still in inventory).
I dont know how to do it and what kind of filter (or slicer) I have to use in my visual.
Not very clear about your requirement. What is your desired output with above sample table?
Sorry about that...
I want to be able to choose a date in my visual to filter the report. For each products I have a date of entry in the inventory and a date of release. By choosing a date in the visual, I want to see the product that were still in the inventory at this moment.
EX: if I choose the 1st of august in my visual, I need to see the products with the InDate before 1st of august AND the OutDate after 1st of august.
Hope its clearer!
Please first create a calendar table which is unrelated with above actual data table. Add date field from this calendar table into slicer.
DimDate = CALENDAR ( MIN ( ActualTable[InDate] ), MAX ( ActualTable[OutDate] ) )
Create below measure:
SELECTEDVALUE ( DimDate[Date] )
Measure1 = IF ( SELECTEDVALUE ( ActualTable[InDate] ) <= [SelectedDateValue] && SELECTEDVALUE ( ActualTable[OutDate] ) >= [SelectedDateValue], 1, 0 )
I think you would use a Table visual to display data from actual table. Then, click this table visual, add [Measure1] to visual level filter, and set its value to 1.