Forum Discussion
Anonymous
7 years agoNot applicable
Insert value in new column and use EARLIER function
Hi guys, I have a question: I need to identify the first order (based on the date) for the person and insert "1" into the new column and for other orders (which are not first) insert 0. One per...
- Anonymous7 years ago
Try this formula:
IF(Table1[Order Date]=CALCULATE(MIN(Table1[Order Date]),ALLEXCEPT(Table1,Table1[Personal ID])),1,0) - 7 years ago
Hi,
Try this calculated column formula
=IF(Data[Date Created]=CALCULATE(MIN(Data[Date Created]),FILTER(Data,Data[Personal id]=EARLIER(Data[Personal id]))),1,0)
Hope this helps.
- 7 years ago
Hi Anonymous,
By my tests, the solution from Ashish_Mathur and Arslan should be helpful.
If you have solved your problem, please accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please feel free to ask.
Best Regards,
Cherry
Anonymous
7 years agoNot applicable
Try this formula:
IF(Table1[Order Date]=CALCULATE(MIN(Table1[Order Date]),ALLEXCEPT(Table1,Table1[Personal ID])),1,0)