Forum Discussion
mbarros
Helper I
7 years agoHow to flag first entry only when second entry occurs?
Hello community! I'm struggling for days to figure this out, so your help will be greatly appreciated. I'm not able to write code myself from scratch, but I'm relatively good at googling, grabing co...
- Anonymous7 years ago
Got it! Even in Power BI it is the same logic, just need to use DAX.
Create ID column by concatenating Company and Type of Sale (add date etc if you want)
Create Status column using this-
Status = IF(Table1[Type of Sale]="half", IF(IFERROR(LOOKUPVALUE(Table1[ID],Table1[ID],CONCATENATE(Table1[Company],"2nd half")),0)>0,"",Table1[Type of Sale]),Table1[Type of Sale])-Lakshmi
Anonymous
7 years agoNot applicable
Is the Status column in Excel a formula? Or manually input?
- mbarros7 years ago
Helper I
Hi Nick,
I manually entered the STATUS column.