HI,
I think I don't quite understand how relationships between tables work on the Designer.
I created relationships between the tables in my report, but by filtering the data in the Parent table, it still collects all the data from the Child table, and the relationship is also set as Active Relationship.
Shouldn't it also filter the Child table data accordingly? Am I doing something wrong?
How do relations work?
-
- Posts: 7333
- Joined: Tue Mar 20, 2018 5:34 am
Re: How do relations work?
Hello,
Relations are not applied for queries.
You can use variable to filter both tables
select * from parent where ID = {Variable}
select * from child where ParentID = {Variable}
Thank you.
Relations are not applied for queries.
You can use variable to filter both tables
select * from parent where ID = {Variable}
select * from child where ParentID = {Variable}
Thank you.