Forum Discussion

janinw's avatar
janinw
Icon for Helper I rankHelper I
6 years ago

BigQuery as source join error: "cannot be used without a condition that is an equality of fields"

Hi all,

 

I am creating a new table in Power BI based on direct query joins from BigQuery tables.

 

In the power query M language everything is correct syntax-wise and also the table looks fine when running the script.

 

However, when I want to display a visual of a column of that newly created table, I receive the following (Big Query/SQL) error:

"Full outer join (or "left outer join") cannot be used without a condition that is an equality of fields from both sides of the join."

 

When I use inner join instead, there is no issue displaying a count of the metric.

 

This is the code I am using:

 

JoinTables1 = Table.Join(Tickets, "nID", Customer, "CustomerNumber", JoinKind.Inner),
JoinTables2 = Table.Join(JoinTables1, "CustomerKey", Screening, "ScreeningCustomerKey", JoinKind.LeftOuter)

 

As a visual want to display the count of another metric, the screening sequence number, coming from the Screening table - however, then I get the error message described above.

 

Many thanks,

Janine

 

2 Replies