Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
avl_dlimi
Contributor III
Contributor III

Chart Layer with custom polygon geomtries

I have created a Map with an Area Layer that uses custom geometry data and it works fine as shown in the image below for the different Territories.

I'm now trying to add a Chart Layer on top and I'm using the same Territory geometry field as the Area Layer. But I'm getting an error about invalid geometries even though I have used the same geometry field.

avl_dlimi_0-1619435588442.png

I am able to do the same using my Country dimension, but it contains the name of the country and not custom geometry

avl_dlimi_3-1619436520021.png

 

Any ideas what might be the cause?

 

EDIT:

I got it to work by using the GeoGetPolygonCenter function on my Territory geometry

=GeoGetPolygonCenter([Territory Area])

 

avl_dlimi_0-1619522075439.png

 

1 Solution

Accepted Solutions
avl_dlimi
Contributor III
Contributor III
Author

I got it to work by using the GeoGetPolygonCenter function on my Territory geometry

 

 

=GeoGetPolygonCenter([Territory Area])

 

 

 

avl_dlimi_0-1619522075439.png

 

View solution in original post

2 Replies
Patricia_Silva
Specialist II
Specialist II

Hello @avl_dlimi I am not sure what could be the cause, but would you have a Qlik Sense sample example so I can try to test it? Which version of Qlik Sense are you using?

Help users find answers! Don't forget to mark a correct resolution 🙂
avl_dlimi
Contributor III
Contributor III
Author

I got it to work by using the GeoGetPolygonCenter function on my Territory geometry

 

 

=GeoGetPolygonCenter([Territory Area])

 

 

 

avl_dlimi_0-1619522075439.png