Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8608

Dynamic merge on 2 query

$
0
0

Hi All,

 

I am exploring the possibility of having dynamic merge on 2 query as per example below.

 

For query 1, it will have data as below

 

Date - Query 1Sales - Query 1
01/01/201410
02/01/201411
03/01/201412
04/01/201413
05/01/201414
06/01/201415
07/01/201416
08/01/201417
09/01/201418
10/01/201419

 

For Query 2, it will have data as below


Date 1Date 2Date 3Sales - Query 2
01/01/201420/12/201320/12/201320
02/01/201421/12/201321/12/201321
03/01/201422/12/201322/12/201322
04/01/201423/12/201304/01/201423
05/01/201424/12/201305/01/201424
11/01/201406/01/201406/01/201425
12/01/201407/01/201407/01/201426
13/01/201408/01/201413/01/201427
14/01/201409/01/201414/01/201428
15/01/201410/01/201415/01/201429



Is possible to do a merge on Date-Query 1->Date 1, Date-Query 1->Date 2, Date-Query 1->Date 3 and show data as below in a same report?

 

Date-Query 1->Date 1

 

DateSalesDate 1Sales - Query 2
01/01/20141001/01/201420
02/01/20141102/01/201421
03/01/20141203/01/201422
04/01/20141304/01/201423
05/01/20141405/01/201424
06/01/20141511/01/2014
07/01/20141612/01/2014
08/01/20141713/01/2014
09/01/20141814/01/2014
10/01/20141915/01/2014

 

Date-Query 1->Date 2

 

Date - Query 1Sales - Query 1Date 2Sales - Query 2
01/01/20141020/12/2013
02/01/20141121/12/2013
03/01/20141222/12/2013
04/01/20141323/12/2013
05/01/20141424/12/2013
06/01/20141506/01/201425
07/01/20141607/01/201426
08/01/20141708/01/201427
09/01/20141809/01/201428
10/01/20141910/01/201429

 

Date-Query 1->Date 3

 

Date - Query 1Sales - Query 1Date 3Sales - Query 2
01/01/20141020/12/2013
02/01/20141121/12/2013
03/01/20141222/12/2013
04/01/20141304/01/201423
05/01/20141405/01/201424
06/01/20141506/01/201425
07/01/20141607/01/201426
08/01/20141713/01/2014
09/01/20141814/01/2014
10/01/20141915/01/2014

 

Regards,

Kang


Viewing all articles
Browse latest Browse all 8608

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>