Hello!
I have a problem with an outer Join and a drill through report. I want to show all products from one group with the price.
In the first report I select the group and a price (there are about 10 different prices). The drill through report should show all products in the group even if they don't have assigned the specific price.
For example (simplified SQL):
select product.nr
from product, price
where product.nr = price.product_nr
and price.dom_price = 2
The problem is that there are products in one group which don't have all prices defined in the table price (for example: standard, plan, budget price).
When I drill to this report whith the price standard (nr=2). One product is not displayed because it doesn't have an entry in the table price for the standard price only entries for other prices.
In the SQL I only need to define an outer join to "price.dom_price (+) = 2" and it works. The problem is that I don't know how to do this in impromptu (this condition is generated by the drill through).
I also tried the solution described in thread401-330981 - but this doesn't work for me as it only lists products which don't have an entry in the table price.
Thanks in Advance!
I have a problem with an outer Join and a drill through report. I want to show all products from one group with the price.
In the first report I select the group and a price (there are about 10 different prices). The drill through report should show all products in the group even if they don't have assigned the specific price.
For example (simplified SQL):
select product.nr
from product, price
where product.nr = price.product_nr
and price.dom_price = 2
The problem is that there are products in one group which don't have all prices defined in the table price (for example: standard, plan, budget price).
When I drill to this report whith the price standard (nr=2). One product is not displayed because it doesn't have an entry in the table price for the standard price only entries for other prices.
In the SQL I only need to define an outer join to "price.dom_price (+) = 2" and it works. The problem is that I don't know how to do this in impromptu (this condition is generated by the drill through).
I also tried the solution described in thread401-330981 - but this doesn't work for me as it only lists products which don't have an entry in the table price.
Thanks in Advance!