Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
qliklearner11
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
Patric_Nordstrom
Employee
Employee

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
qliklearner11
Contributor
Contributor
Author

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

Kind regards