You:
I'm building a model in power bi. I have two tables, and there is a one-to-one relationship between them based on the combination of these columns: branch_origin_key, branch_dest_key, outbound_revenue_customer_key How do I get around the limitation that relationships between tables in power bi can only be based on one column?
ChatGPT:
Thought for 13 seconds
Power BI’s model designer can only link two tables on one column, so you have to collapse your three-column key into a single surrogate key (or refactor the model). Here are the two common ways: