relationships with two fields
See original GitHub issueWe have three tables:
matches (id)
match_rounds (id, match_id)
(field id
is non unique)
match_round_events (round_id, match_id)
How to create a relationship (join) for events
in match_rounds
?
Like this:
JOIN match_round_events match_round_events.match_id = match_rounds.match_id AND
match_round_events.round_id = match_rounds.id
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Create a relationship with multiple columns in Power BI
To create a relationship with multiple columns in Power BI we simply need to create a new column by merging the required columns...
Read more >Relationship in Power BI with Multiple Columns - RADACAD
The workaround for this problem is easy. Power BI doesn't allow relationship in model based on multiple columns, but Power Query can join...
Read more >Guide to table relationships - Microsoft Support
A table relationship works by matching data in key fields — often a field with the same name in both tables. In most...
Read more >About multi-criteria relationships - FileMaker Pro
In a multi-criteria relationship, FileMaker Pro compares the values from each match field on each side of the relationship in the order in...
Read more >Solved: Establish Active relationship between multiple col...
Establish Active relationship between multiple columns from two table · 1) Joins [Left, Inner, Full Outer] in Power Query · 2) Summary tables...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Maxpain177 you can create the relationship manually using the API (without having to create a Fkey constraint): https://docs.hasura.io/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#manual-configuration
This is how your API payload may look like:
You should then be able to run queries such as:
Sorry, my mistake.