Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I woul like to know how to join two tables that I get with SUMMIRIZE function. Tables doesn't have a direct relationship, they only connected by common dimensions.
For example, I have the code that doesn't work:
var table1 = SUMMARIZE(
FactTable1,
FactTable1[CustomerId],
FactTable1[DateId],
FactTable1[CategoryId],
FactTable1[Amount]
)
var table2 = SUMMARIZE(
FactTable2,
FactTable2[CustomerId],
FactTable2[DateId],
FactTable2[CategoryId],
FactTable2[AmountWithDifferentName]
)
return NATURALLEFTOUTERJOIN(table1, table2)
And the execution of this code throws an error message: "No common join columns detected. The join function requires at-least one common join column."
Hi
My Issue got resolved by using groupby DAX function.
Thanks,
@Anonymous , see if this can help
https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/
Hi @Amit ,
I too got the same error with the same kind of scenario. Below is part of my code.
Thanks
try changing the name to be a common name between the two columns in the tables to be joined.
NATURALLEFTOUTERJOIN function (DAX) - DAX | Microsoft Learn
Hi
Thanks for the reply.
I did try by changing the name of the columns to same in both the cases.
Still no luck.
Error: The incompatible join column was dectected.
Couldn't figure out why this error comes, even I have same datatypes,names for both the columns.
Thanks
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |