Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details

Qlik Sense Map Object: issue when identical values are used as dimension in Area/Bubble Layer

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Joseph_Musekura
Support
Support

Qlik Sense Map Object: issue when identical values are used as dimension in Area/Bubble Layer

Last Update:

Feb 11, 2022 11:39:50 AM

Updated By:

Joseph_Musekura

Created date:

Feb 11, 2022 11:35:16 AM

In Qlik Sense & QlikView, maps are used to show a geographical representation of, for example countries, states, cities etc... Maps are also used to show a geographical distribution of offices, stores, and other sites of business interest
An area (or bubble) layer is one of different geographical representations that can be used to represent countries, states, cities on the map. Dealing with Area (or bubble) Layer requires an understanding of data to use as  dimension in order to define the area (or bubble) and respective location on the map .

Depending on the data model, a common error occurs when there are identical values in added dimension. Consider the following simple-dummy use-case.

 

//In Belgium, the Municipality of  'Antwerpen' is divided into 3  “zip codes”
//While 'Antwerpen-Berchem' Municipality has 1 “zip code” 
LOAD * INLINE [
ZipCode, Municipality, Country
2000, Antwerpen, Belgium
2018, Antwerpen, Belgium
2020, Antwerpen, Belgium
2600, Antwerpen-Berchem, Belgium
];

 

In above use-case when using a native map, adding an area layer with "Municipality" as dimension and "ZipCode" as Location, will result in the following

  • Selecting ‘Antwerpen-Berchem’ works as expected and area representing  ZipCode 2600 is displayed

areaOK.png

  • However, no area displayed on map when ‘Antwerpen’ is selected

AreaNot OK.png

Environment

  • GeoAnalytics for Qlik Sense /QlikView

 

Resolution

From the above data model, a similar straight table with Municipality as dimension and =only(zip) as measure  will look like this

result_screenshot_for_only_zipcode.png

 In 'Area/Bubble Layer' the dimension defines the number of objects on map while the location is a measure. If you want to display zipcodes, the dimension has to be unique for zipcodes.

To solve such behavior follow this process, it is similar to dealing with cities with the same name.

Labels (1)
Contributors
Version history
Last update:
‎2022-02-11 11:39 AM
Updated by: