Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Update New Column with Data from Other Table

Hello. I would like to update a custom column with data from a different table. I have a list of zipcodes with program start dates in one table called DateBeginFootprintZips.   I would like...
  • Greg_Deckler's avatar
    Greg_Deckler
    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]))