I'm trying to get the last login date by entity.
Table A has a column for Entity ID (non-distinct) and a column for login dates. I've made Table B which is a distinct list of Entity IDs and is related to Table A. I would like to add the last login date as a column (not measure) to Table B.
I tried to use the following function but it just gives me the last date in the table repeated for each row. Somehow I'm not specifying I need the last date by entity even though the relationship is established.
Last Login Date = MAX('Table A'[Login Date])
Any help would be greatly appreciated. Thank you
