Hello everyone!
I am building a relational database where I want the user to determine who is a business partner of who and save such info on a sharepoint lists. As an example:
There are Companies A, B, C and D.
* A can trade with B, C and D
* B can trade with A, and D but not C
I was thinking of using a toggle to make it simpler for each user to select which company it can trade with and the end result would be something like the image below.

The table itself is a bit more complex and the best way I thought was to create 1 column for each company and an indication of Yes/No. An example is below:

I manage for the toggle to understand the Yes and No's based on an If statement:
ThisItem.Company in Sort( Distinct( Filter(Business_Partners, If( Dropdown.Selected.Result = "Company A", 'Company A' = "Yes", "Company B", 'Company B' = "Yes", "Company C", 'Company C' = "Yes", "Company D", 'Company D' = "Yes")), Entity),Result)
My problem is: How do I patch if user decides that Company B can trade with C? My goal is for the googgle to change the Yes/No values in such sharepoint list.
Any suggestions? It can even be a completely different approach to the problem, script and Sharepoint.
Thank you in advance!