Qlik Community

Qlik GeoAnalytics Discussions

Discussion Board for collaboration regarding Qlik GeoAnalytics.

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor

GeoAnalytics: Color area layer with expression does not work

Hello everyone,

I used the expression posted here:

https://community.qlik.com/t5/Qlik-GeoAnalytics-Discussions/Change-Color-of-the-Area-layer/m-p/13306...

to color the area depending on the sum of sales.

Unfortunately, it doesn't work. QS is showing the color red for every area instead of color gradient.

 

What did I do wrong? 

Thanks for your help.

 

Labels (2)
2 Replies
Highlighted
Employee
Employee

Re: GeoAnalytics: Color area layer with expression does not work

Hi,
In case like this, to debug coloring please make a table with the same dimension and measures and make sure that the expression evaluates properly. In many case the coloring fails because there is something wrong with expression.

Thanks,
Patric
Highlighted
Contributor
Contributor

Re: GeoAnalytics: Color area layer with expression does not work

Thanks for your quick response.
I just changed the expression and used count() instead of sum() and it worked.

Kind regards