Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Hi @FRG,
Not very clear about your requirement. What is your desired output with above sample table?
Regards,
Yuliana Gu
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
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
75 | |
73 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |