Quantcast
Channel: SQL Server Reporting Services, Power View 포럼
Viewing all articles
Browse latest Browse all 24955

Populate Matrix field from 2 datasets

$
0
0

We have first dataset which list all the flight flown records to various cities for a specific region of the country with other required columns for current month and year.

Ex dataset1:

Month | Year | Arrival_City | Region |Frequency_Count | Aircraft_Id

We have second dataset which list all the city of the specific region.

Ex dataset2:

Arrival_City | Region | State_Code | Customer Type |Hub_City |…..

Note: Due to database structure we can’t combine these 2 datasets as these 2 dataset points to different databases.

Requirement:

In our existing matrix report which has Arrival_City setup as one of the Row groupsshows ONLY flights flown to “Arrival_City” but it does NOT show “Arrival_City” where flights NOT flown from dataset2. The dataset 2 has master list of region or state where we fly. How to show both (City flown and not flown) to  that specific matrix column?

---

Just to be more clear, Dataset1's "Arrival_City" is displaying flown flights cities but it also needs to display each of the "Arrival_City" values from Dataset2 which are NOT in dataset1's "Arrival_City"

For Ex...

DataSet1- Arrival_City has ORD, ATL, MEM, MIA, MCO

DataSet2- Arrival_City has ORD, ATL, TPA, MEM, MIA, MCO, CLT

Therefore matrix cell/field (row group Arrival_City) must show ORD, ATL, MEM, MIA, MCO,TPA & CLT


Viewing all articles
Browse latest Browse all 24955

Trending Articles