Skip to main content

GeoAnalytics

Discussion Board for collaboration regarding Qlik GeoAnalytics.

Announcements
QlikWorld 2023, a live, in-person thrill ride. Save $300 before February 6: REGISTER NOW!
cancel
Showing results for 
Search instead for 
Did you mean: 
NashaYussof
Partner - Contributor II
Partner - Contributor II

Calculate points within TravelArea polygon

Hi @Patric_Nordstrom 

I would like to know is it possible to count points (triangle shape) within the TravelArea?

I generated TravelArea on-the-fly hence it's dynamic according to address I selected (represent in circle shape). 

Then I would like to know, within the travelarea boundary generated, how many points lie inside it?

Thanks alot Patric!

NashaYussof_0-1632158351510.png

 

Qlik GeoAnalytics  Qlik Cloud 

Labels (3)
1 Solution

Accepted Solutions
Patric_Nordstrom
Employee
Employee

Yes, that is the current path

View solution in original post

5 Replies
Patric_Nordstrom
Employee
Employee

Yes, use the within operation.

 

Thanks,

Patric

NashaYussof
Partner - Contributor II
Partner - Contributor II
Author

To use within, I will need to use it at the load editor right? 

Hence, I need to calculate TravelArea at the load editor and do within operation after that? I can't no longer user TravelArea operation on-the-fly?

Patric_Nordstrom
Employee
Employee

Yes, that is the current path

Steven_Haught
Creator III
Creator III

@Patric_Nordstrom 

I am getting an error while trying to do the within based off a travel area. This is my error message:

The following error occurred:
Connector reply error: QVX_SYNTAX_ERROR: *Failed to process query: Failed to create dataset Enclosing: It is not possible to use the polygon value of DriveTime_TravelArea as an index.
 
Any ideas on the issue? 
Patric_Nordstrom
Employee
Employee

In the within operation don't use the geometry as the index field.

Thanks,

Patric