Skip to main content

Using Qlik Sense to find my dream home - Part 5

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Edy_Tan
Employee
Employee

Using Qlik Sense to find my dream home - Part 5

Last Update:

Dec 6, 2021 8:25:37 PM

Updated By:

Edy_Tan

Created date:

Dec 6, 2021 8:25:37 PM

From the previous blog/video you have seen the ability to combine multiple data sets together to find my dream HDB home based on flat type, avg resale price, distance to the nearest MRT station and within 1km of a Primary School.

In this document I will show you how to add in an address to lookup the latitude longitude coordinate and then calculate the travel distance by car within 5, 10, 15 mins.  These 2 actions can be initiated when doing the analysis and the results are calculated on the fly.

First, I will create 2 variables vAddress and vAddressPoint, and add in the variable input box and action button.

DH5d.jpg

Next assign the vAddress to the variable input box so that when I type in the address to add a point, the address will be stored inside vAddress.

DH5C.jpg

Next I will use GeoOperation AddressPointLookup to return me the AddressPoint by passing in the vAddress as input.

DH5a.jpg

And then assign this as an action to the action button.  Set the action to set variable value, variable to vAddressPoint and the value to the GeoOperation.

DH5b.jpg

When I click on the action button, the AddressPointLookup function will return the latitude longitude coordinate of the address and stored inside vAddressPoint.  I can then add this point onto the map as a point layer.

DH5i.jpg

I will repeat this for the travel area: create 2 variables vTravelTime and vTravelArea, and add in the variable input dropdown and action button.

DH5e.jpg

Next assign the vTravelTime to the variable dropdown and set the value to 5, 10, 15 and 20 mins.  Remember to set the value to the actual value.

DH5h.jpg

Next I will use GeoOperation TravelAreas to return me the TravelArea by passing in the vTravelTime and vAddressPoint as input.

DH5g.jpg

And then assign this as an action to the action button.  Set the action to set variable value, variable to vTravelArea and the value to the GeoOperation.

DH5f.jpg

When I click on the action button, the TravelAreas function will return the shape of the TravelArea and stored inside vTravelArea.  I can then add this point onto the map as an area layer.

DH5j.jpg

This will be the end result.

DH5k.jpg

Do refer to my other blogs:

 

Part 1 - Using Qlik Sense to find my dream home

Part 1a - How to build the base dashboard (Video) 

Part 1b - How to build the base dashboard (Guide) 

Part 2 - How to geocode a HDB block and Binning 

Part 3 - How to calculate distance to MRT/LRT 

Part 4 - How to calculate within 1km of Primary School 

Part 5 - How to add a point and travel area 

Labels (3)
Contributors
Version history
Last update:
‎2021-12-06 08:25 PM
Updated by: