Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8604

Use Combine queries/Multiple Data Providers?

$
0
0

Hello everyone,

 

I'm working on some existing reports which has data from multiple contexts/fact tables and for different time periods.

 

Ex:

Query: Current Year

Combined Query1: Customer, Product, Order Qty and Order Amt(from Sales Context)  -  Filter on Current Order Year

Combined Query2: Customer, Product, Returned Qty (from Returns Context)  - Filter on Current Return Year

Combined Query3: Customer, Product, Registration Qty (from Registrations Context) - Filter on Current Registration Year

 

Query: Last Year

Similar 3 Combined queries with Filter on Last Year

 

So, in the above query, we're getting data from multiple contexts/fact tables, but by using only one data provider which is generating multiple workflows and then doing a Union.

 

Is that the best practice or I should be creating one query per Context/Fact table?

 

Thanks,

Mahboob Mohammed


Viewing all articles
Browse latest Browse all 8604

Trending Articles



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