I want to filter a table to have unique entries. They must have unique juris_key and pub_key. If they have the same juris_key and pub_key, only show rows with the minimum effective_date. How to do that using a formula ? below are some of the entries:
name | juris_key | pub_key | Effective Date|
name 1 | alabama | ashrae_901_2013 | July 1, 2016|
name 2 | alabama | ashrae_901_2013 | July 1, 2022|
name 3 | alabama | int_building_code_2009 | September 1, 2010|
name 4 | alabama | int_building_code_2015 | July 1, 2016|
name 5 | alabama | int_building_code_2021 | July 1, 2022|
After filtering it out correctly, it must only show the following rows:
name | juris_key | pub_key | Effective Date|
name 1 | alabama | ashrae_901_2013 | July 1, 2016|
name 3 | alabama | int_building_code_2009 | September 1, 2010|
name 4 | alabama | int_building_code_2015 | July 1, 2016|
name 5 | alabama | int_building_code_2021 | July 1, 2022|