Forum Discussion
M_BAKOUR_95
6 years agoNew Member
Remove duplicates
Hello all I want to remove duplicates from a table and keep the row with the most recent date. For example, when the values between the "bnf_name" and "wife_name" columns match on two different ro...
- 6 years ago
Hi, M_BAKOUR_95
Based on your description, I created data to reproduce your scenario.
Table:
You may create a calculated table as below.
Compare = ADDCOLUMNS( SUMMARIZE( 'Table', 'Table'[bnf_name], 'Table'[Wife_name] ), "NewDate",CALCULATE(MAX('Table'[Date])) )Result:
Compare:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-alq-msft
6 years agoCommunity Support
Hi, M_BAKOUR_95
Based on your description, I created data to reproduce your scenario.
Table:
You may create a calculated table as below.
Compare =
ADDCOLUMNS(
SUMMARIZE(
'Table',
'Table'[bnf_name],
'Table'[Wife_name]
),
"NewDate",CALCULATE(MAX('Table'[Date]))
)
Result:
Compare:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.