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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
janinw
Helper I
Helper I

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 2
Bamak
Helper V
Helper V

Hi  janinw

 

We have the same problem on our campany

 

Don't hezitate to contacte microsoft  .... they don't want to move on that ;>) 

 

https://community.powerbi.com/t5/Desktop/Query-M-Merge-2-Big-Query-tables-Lef-join-issue/td-p/143548...

v-juanli-msft
Community Support
Community Support

Hi @janinw 

As tested, it works on my side.

Could you share some example data for test?

In addition, To dispaly visual, instead of merging queries, you could create relationships among tables and create measures.

https://docs.microsoft.com/en-us/power-bi/desktop-create-and-manage-relationships

https://docs.microsoft.com/en-us/power-bi/desktop-measures

Capture7.JPGCapture8.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.