Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Table_1 and Table_2 both have a column containing the same information, let's call this area_column.
I can't link Table_1 and Table_2 because the area-column in both can have the same value repeated. So I created Table_3 with a column called Areas to give a list of unquie values from Table_1 using the following formula:
Areas = DISTINCT('Table_1'[area_column])
Now when I try to link the column Areas in Table_3 to the area_column in either Table_1or Table_2 I keept getting a message saying that this is a many-many relationship, which does not make sense to me as Table_3 is a list of unique values so surely it should be a 1-many relationship.
Any ideas why this might be the case and how to solve it?
Solved! Go to Solution.
@Anonymous , just if there null/blank value in these table, in that case, you will many to Many even if expect 1-M.
@Anonymous , Try to change the relationship manually. If it is not helping check the data if there is any repeated value.
Regards,
Manikumar
Proud to be a Super User!
Hey - checked every row of both tables and no blanks. I removed blanks using this DAX here. Is there any other reason why PBI won't let me do One to Many?
Key_Table = FILTER( Distinct( UNION('Table1','table2','table3') ),'table1'[key]<>BLANK())
amitchandak I was getting blank values through. I changed the formula to the following:
Area = DISTINCT(FILTER(VALUES('Table_1'[area_column]),LEN('Table_1'[area_column])>0))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
141 | |
79 | |
64 | |
52 | |
47 |
User | Count |
---|---|
212 | |
89 | |
76 | |
66 | |
60 |