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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
benji
Regular Visitor

Creating Case Sensitive Table Relationships

I am having trouble making a relationship between two tables. Due to case insensitivity, powerBI thinks that there are repeat entries on both tables and so it will not create the relationship.  

 

Specifically, I am using Salesforce.com data and trying to link my accounts table to my opportunities table based on AccountID. It just so happens that several AccountID's are identical except for case; i.e., one account ends in "ef5Hi" and on account ends in "Ef5hi"

 

Is there a way to get around this?

1 ACCEPTED SOLUTION
SqlJason
Memorable Member
Memorable Member
4 REPLIES 4
SqlJason
Memorable Member
Memorable Member

Do I need to use Power Query to accomplish this or is there a way to do it all within PowerBI?

You can edit the queries within Power BI and do the same operations (the similar feature in Excel is called Power Query, and is very similar in look and feel).

greggyb
Resident Rockstar
Resident Rockstar

In Power Query you can add an index field to your lookup table, and also merge that index into the fact table.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.