Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
bocsm
New Member

Connect relationship many-to-one

Im trying to connect 2 tables with a many-to-one relationship but when I choose column that should be considered primary, Power BI sends me this error message:
"the selected column can't be the key column because it contains duplicate values. Choose a column that has unique values in every field." I have double checked and there are no duplicates. What can I do?

2 REPLIES 2
bocsm
New Member

Hi @Dhairya this is the data I want to set as the 'key column' but PBI is saying it contains duplicate values

Level 4 
Revenue: Integrations (Net) 
Revenue: Logistics (Net) 
Revenue: Other (Net) 
Revenue: Premium (Gross) 
Discounts: Premium 
Application hosting and monitoring costs 
Data communication costs 
Software license fees for embedded third-party apps 
App/Website development costs 
Salary costs: Customer Service 
Salary costs: Account Management 
Salary costs: Admin Operations 
Freelancers: Account Management 
Freelancers: Admin Ops 
Freelancers: Customer Service 
Travel: COGS 
Software & Tools: COGS 
COGS: Logistics 
Salary costs: Field Sales 
Salary costs: Vendor Management 
Salary costs: Implementation Management 
Salary costs: Inside Sales 
Salary costs: Markets Other 
Salary costs: Marketing 
Freelancers: S&M 
Travel: S&M 
Software & Tools: S&M 
Marketing 
Operations infrastructure software costs 
User Growth Expenses 
Salary costs: Engineering 
Salary costs: Product 
Salary costs: Design 
Salary costs: Solutions Engineering 
Freelancers: EPD 
Travel: EPD 
Software & tools: EPD 
Salary costs: Finance & Legal 
Salary costs: Global Operations 
Salary costs: IT Infrastructure 
Salary costs: Management 
Salary Costs: Other 
Salary costs: People Operations 
Salary costs: Special Projects & Supply Chain 
Freelancers: G&A 
HR & Payroll 
Finance & Legal 
Other OPEX (all) 
Recruiting 
Rent (all) 
Staff Entertainment 
Software & Tools: G&A 
Travel: G&A 
D&A 
Forex (Loss)/Gain: all 
Net interest expense 
Tax Expense 
Net Working Capital 
Depreciation & Amortisation | BS 
Other | BS 
Fixed Assets 
Equity Investment 
Bank 
Retained Earnings 
Dhairya
Solution Supplier
Solution Supplier

Hey @bocsm 
Please share the sample data on which you are trying to create a relationship.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.