COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: LBEN2812 on 05 Mar 2018 10:20:33 AM

Title: Analyzing and Merging Two Sets of Data
Post by: LBEN2812 on 05 Mar 2018 10:20:33 AM
Hi,

I am new to the forum and would like some help with a specific query.

In query 1, I have a query of all the samples shipped by site, product code, customer, customer number and sales person.

In query 2, I have a list of all the sales by site, product code, customer, customer number and sales person.

What I want to be able to do is combine the queries to determine of all the samples shipped which have sales orders after the samples was shipped.

The data for samples and sales is from the same data source/package.

Solutions appreciated.
Title: Re: Analyzing and Merging Two Sets of Data
Post by: sdf on 16 Mar 2018 04:17:43 AM
are sales and samples not joined in your package?
if not you can join your queries in reports studio just drag in join tool in query manager and put the two queries there. Join the queries using the items that will satisfy your requirement.