Hi all
I have in an FM model, table1 & table2 with a left outer join.
1table: every day in the calendar:
day1, day2, day3, day4.
2table: day, record_id, group_id:
day1, record_id1, gr_id1
day1, record_id2, gr_id2
day2, record_id3, gr_id1
day3, record_id4, gr_id2
I want to be able in Cognos 8.2 Report Studio, to show all the days from table1 with the correspondent records in table2, like below:
table1.day1, day1, record_id1, gr_id1
table1.day1, day1, record_id2, gr_id2
table1.day2, day2, record_id3, gr_id1
table1.day3, day3, record_id4, gr_id2
table1.day4
I am able to do that as long as I show all values with no filters on table2.
When I put a filter on group_id=gr_id1, I want to see:
table1.day1, day1, record_id1, gr_id1
table1.day2, day2, record_id3, gr_id1
table1.day3
table1.day4
but instead it makes from left outer join, a direct join:
table1.day1, day1, record_id1, gr_id1
table1.day2, day2, record_id3, gr_id1
table1.day4
instead of:
I want to see all records in table1 and only the records in table2 for group_id=id1
Does anyone have a solution for this?
Thank you for an answer!
Miki
I have in an FM model, table1 & table2 with a left outer join.
1table: every day in the calendar:
day1, day2, day3, day4.
2table: day, record_id, group_id:
day1, record_id1, gr_id1
day1, record_id2, gr_id2
day2, record_id3, gr_id1
day3, record_id4, gr_id2
I want to be able in Cognos 8.2 Report Studio, to show all the days from table1 with the correspondent records in table2, like below:
table1.day1, day1, record_id1, gr_id1
table1.day1, day1, record_id2, gr_id2
table1.day2, day2, record_id3, gr_id1
table1.day3, day3, record_id4, gr_id2
table1.day4
I am able to do that as long as I show all values with no filters on table2.
When I put a filter on group_id=gr_id1, I want to see:
table1.day1, day1, record_id1, gr_id1
table1.day2, day2, record_id3, gr_id1
table1.day3
table1.day4
but instead it makes from left outer join, a direct join:
table1.day1, day1, record_id1, gr_id1
table1.day2, day2, record_id3, gr_id1
table1.day4
instead of:
I want to see all records in table1 and only the records in table2 for group_id=id1
Does anyone have a solution for this?
Thank you for an answer!
Miki