cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FRG Regular Visitor
Regular Visitor

Inventory report by date

Hi everybody,

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.

Thanks

Capture.JPG

3 REPLIES 3
Community Support Team
Community Support Team

Re: Inventory report by date

Hi @FRG,

 

Not very clear about your requirement. What is your desired output with above sample table?

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
FRG Regular Visitor
Regular Visitor

Re: Inventory report by date

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!

Thanks

Community Support Team
Community Support Team

Re: Inventory report by date

Hi @FRG,

 

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:

SelectedDateValue =
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.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.