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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
fiveone
Helper II
Helper II

does not let me join although one of the column has unique values

I need to relate to tables, one is a fact tables with rates of ressources and another one is a dimension table with details regarding each ressource.

I made sure there is no null nor duplicates in the dimension table.

let
    source = #"Staff list",
    #"Filtered Rows1" = Table.SelectRows(source, each [Ressource] <> null and [Ressource] <> ""),
    #"Removed Duplicates" = Table.Distinct(#"Filtered Rows1", {"Ressource"})
in
    #"Removed Duplicates"

but PBI will still not let me join the 2 tables - it says that one of the columns must have unique values.

Any idea why it would not let join on the ressource column

 

1 ACCEPTED SOLUTION

OK, problem solved.

There was a space at the end of one the names. I suspected that but it was not apparent in powerquery. Anyway this should not be considered as duplicates anyway, unless there is some automatic somewhere in the process, but where...

View solution in original post

2 REPLIES 2
fiveone
Helper II
Helper II

I inverstigated it further and it turns out there are indeed 2 records of one of the resource after the RemoveDuplicates step.

How is that even possible?

2017-02-02 14_33_12-Staffing Dashboard-2017-01-30 - Power BI Desktop.png2017-02-02 14_35_36-Staffing Dashboard-2017-01-30 - Query Editor.png

OK, problem solved.

There was a space at the end of one the names. I suspected that but it was not apparent in powerquery. Anyway this should not be considered as duplicates anyway, unless there is some automatic somewhere in the process, but where...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.