Forum Discussion
Update New Column with Data from Other Table
- 3 years ago
Anonymous Oh, I missed the +1. I'm not sure how much further I can take this without you posting some sample data and expected output because I'm already starting to get confused.
Column = VAR __zip = [zipcode] VAR __Table = FILTER('DateBeginFootprintZips',[Zipcode] = __zip) RETURN IF(COUNTROWS(__Table)+0 = 0, MAX('DateBeginFootprintZips'[DateBegin])+1, MAXX(__Table,[DateBegin]))
Hi Greg,
Thanks for this. Certainly on the right track. The start date of 6/6 and 6/13 are only assigned to the corresponding zipcodes. However, all other zipcodes are assigned to the 8/1 date. How do I update so that just the corresponding zipcodes are assigned the 8/1, leaving all other zipcodes with no current start date to be assigned 8/2 (Max BeginDate + 1 one day)?
Anonymous Oh, I missed the +1. I'm not sure how much further I can take this without you posting some sample data and expected output because I'm already starting to get confused.
Column =
VAR __zip = [zipcode]
VAR __Table = FILTER('DateBeginFootprintZips',[Zipcode] = __zip)
RETURN
IF(COUNTROWS(__Table)+0 = 0, MAX('DateBeginFootprintZips'[DateBegin])+1, MAXX(__Table,[DateBegin]))- Anonymous3 years agoNot applicable
Thanks Super User Greg!