Forum Discussion
Lost Product
- 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.
How can you refrence columns in the IF functions as it shows as error? unless you want me to creat a calculated column?
Lost Product 3 =
VAR _Period =
DATESINPERIOD ( Data[Date], MAX ( Data[Date] ), -3, MONTH )
RETURN
IF( 'Data'[Product] = "Production" && Data[Action] = "View" && NOT('Data'[Date]) IN _Period,1,
IF( 'Data'[Product] = "Production" && Data[Action] = "View",0,BLANK()))
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 _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- H_insight4 years ago
Helper V
Hi v-yanjiang-msft ,
Thanks again for your attempt, much appreciated. I realised the measure won't get me the expected result. For now I will accept this as a soultion.
Thanks, H