How to Calculate How Many Devices in Location 1 Were Seen in Location 2 (Cross Visitation Analysis)

The general process to determine the number of devices from location 1 that were also seen in location 2 is to filter for devices that were seen in both locations and obtain a number of that. This type of question could be answered using the pin report, zero point report, or CEL/CDL report. To provide an example, we will be doing this on Tableau.

1. Once you've imported Near data containing information on two locations, create a parameter on the "Polygon ID" that controls the study polygon that we're mainly interested (we'll call it "Study Polygon"). Under the "Current Value", choose the polygon that you're interested in studying. For this example, we'll be interested in finding how many devices from Lakewood Mall (our study polygon) were also seen in Cerritos Mall during this timeframe.

2. Create a measured parameter that determines whether that row has the study polygon that we're interested in. If so, the result is 1. For this example, we'll call it "Study Location Match".

3. Create another measured parameter that determines whether the "Polygon ID" column matches up the Study Polygon. So if the row value for Polygon ID doesn't match with Study Polygon, then we keep that row value.  If it does, then the row value for Polygon ID is a null value. For this example, we'll call this measure "Device Also Seen At".

4. Create a set that only includes devices that were also seen location 2 (Cerritos Mall) at least once during the timeframe. We'll call this "Devices in Selected Location".

5. Lastly, filter for those devices in "Devices in Selected Location" and location 2 (Cerritos Mall) in "Devices Also Seen At". Put "Devices Also Seen At" in the Columns section and a new field called "Count of Unique Devices" in the Rows section. Once you've done that, you'll see that 2,819 devices that were seen in Lakewood Mall were also seen in Cerritos Mall.

Card_w_shadow_Grant