Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

How do I filter a table with respect to values in a second table.

$
0
0

I have five tables each containing data on the basis of Building ID and date. However one of the table(Let's call it 'Base Data') has Client ID as well and each client ID can correspond to multiple Building ID's. Now we want to select a client ID as a parameter when the file is opened and we want the tables to be filtered in accordance ie all building ID's corresponding to that client id in 'Base Data' table to be taken from other tables as well. eg:

if data is like: Base Data:

                      ClientID | Building ID |. . . . . .

                      ABC1     | 211kjkl

                      ABC1    | 212kasl

                      ABC2    | 221kjfd

                      ABC3    | 211kjaas

                      ABC1    | 211kjssa

 So if the client ID selected in Parameters is ABC1 then from all tables data is fetched/shown only where BuildingID is: 211kjkl,  212kasl,  211kjssa.                   

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles



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