Forum Discussion
Anonymous
8 years agoNot applicable
Return the last value with specific conditions
Not sure really how to title this one I have a table that i want to add a calculated column to, to give me a Gold/Silver/Bronze category (already created) by the store ID. So in the image below, ...
- 8 years ago
Hi,
Try this calculated column formula
=IF(Data[Date]=CALCULATE(MAX(Data[Date]),FILTER(Data,Data[ID]=EARLIER(Data[Date])&&Data[CycleName]=EARLIER(Data[CycleName]))),Data[GSB],BLANK())
Hope this helps.
Anonymous
8 years agoNot applicable
Perfect thanks Ashish_Mathur
Slight error as it should be ID=EARLIER(ID) which I amended and now all is working
Thanks :)
Ashish_Mathur
Super User
8 years agoYou are welcome.