My current formula is below with an explanation of my data:
Would it be possible to write this in DAX?
=IFERROR(VLOOKUP(K2,K3:M40000,IF($M:$M=0,2,3),FALSE),"01/01/2010")
Column K = A Unique Value i.e Product 1, Product 2, Product 3 etc…..
Column L = Dates in order of newest to oldest
Column M = Dates in no particular order
So the VLOOKUP looks down the columns and when it sees the next instance of the Unique Key it then gives me the date value in Column M and if there is no new instance of the Unique Key found it returns 01/01/2010.
Column Headings in DAX would be:
Column K = Unique Key
Column L = Date Start
Column M = Date Finished
Would it be possible to write this in DAX?
=IFERROR(VLOOKUP(K2,K3:M40000,IF($M:$M=0,2,3),FALSE),"01/01/2010")
Column K = A Unique Value i.e Product 1, Product 2, Product 3 etc…..
Column L = Dates in order of newest to oldest
Column M = Dates in no particular order
So the VLOOKUP looks down the columns and when it sees the next instance of the Unique Key it then gives me the date value in Column M and if there is no new instance of the Unique Key found it returns 01/01/2010.
Column Headings in DAX would be:
Column K = Unique Key
Column L = Date Start
Column M = Date Finished