Forum Discussion
H_insight
Helper V
4 years agoLost Product
Hi All, I am trying to identify lost product within my sample file for over 3 months ago. So All products thats meet the below criteria and over than 3 months old (rolling). Criteria as follo...
- 4 years ago
Hi H_insight ,
In my sample, Lost Product is a calculated column, I also create a measure in my sample, it cannot get the expected result, I attach it bellow to help you understand.
Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
smpa01
Community Champion
4 years agoH_insight Did you need this?
Lost Product =
VAR _Period =
DATESINPERIOD ( Data[Date], MAX ( Data[Date] ), -3, MONTH )
RETURN
CALCULATE (
COUNTROWS ( Data ),
NOT ( Data[Date] ) IN _Period,
FILTER ( Data, Data[Product] = "Production" && Data[Action] = "View" )
)
- H_insight4 years ago
Helper V