Hello,
I have a table listing orders from cusomters. I want to find if a customer who ordered this year has also ordered for next year. I created a column concatenating YEAR&CUSTOMERID, and a NEXTYEAR&CUSTOMERID column. This way I hope to be able to lookup the amount of the order for that same customer next year.
I'm hoping to write a formula of the type
IF([ YEARCUSTOMERID ] = [ @NEXTYEARCUSTOMERID ], ORDERAMOUT, 0 )
What DAX formula should I use?