Forum Discussion
juli__sia123412
7 years agoFrequent Visitor
First product bought - cohort
HI, I have the next table: Customer Id - rank* - Order Id - SKU 1234 - 1 - 7894 - SKU 1 1234 - 2 - 7856 - SKU 2 1456 - 1 - 767...
- 7 years ago
Hi juli__sia123412 ,
You could try the calculated column below.
Column = CALCULATE ( MAX ( 'Table1'[SKU] ), FILTER ( 'Table1', 'Table1'[Rank] = MIN ( 'Table1'[Rank] ) && 'Table1'[Customer ID] = EARLIER ( Table1[Customer ID] ) ) )Here is the output.
Best Regards,
Cherry
v-piga-msft
Resident Rockstar
7 years agoHi juli__sia123412 ,
You could try the calculated column below.
Column =
CALCULATE (
MAX ( 'Table1'[SKU] ),
FILTER (
'Table1',
'Table1'[Rank] = MIN ( 'Table1'[Rank] )
&& 'Table1'[Customer ID] = EARLIER ( Table1[Customer ID] )
)
)
Here is the output.
Best Regards,
Cherry