Dropdowns for selecting states and districts

Created a table where states are matched to their districts where each entry was a district and the state where the district is. During the app build, used a dropdowns to select the state and district using…State’s district in condition column

But the problem is even though the district entries are unique, the states are not…causing them to repeated in the same dropdowns. How can I solve this issue?

Screenshot 2023-03-27 215924
Screenshot 2023-03-27 215929
Screenshot 2023-03-27 220009

show us how your data is structured