Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

Create a block chart

I need a heat map in our report. then I create a block chart in QlikView, I want to size the block by field A and  color the blocks by field B

Now the block size could be shown correct by field A. but the color can't be shown correctly by filed B

My requirement:

when the field B < lower threshold, it will display red, 

when lower threshold < field B< upper threshold, it will display yellow, 

when field B> upper threshold, it will display green

How to set the colors and make it works? If possible, please help to provide the detail steps. Thanks very much!

BTW, my first dimension is County, the second dimension is region, the third dimension is province, and the blocks present provinces. The size presents the customers for the province,  the color presents the sales in the province.

I had the expression in COLOR properties, but the color in blocks always for the total sales of the county, NOT for the region. i.e all the blocks in the country always display the same color.

Anybody can help me? it's very urgent, please~~~

Labels (2)
2 Replies

Re: Create a block chart

Click on the + in front of the chart expression on the Expressions tab. Then select Background Color and enter an expression to calculate the color in the Definition field. Something like =if( sum([Field B]) < $(vLT), red(), if(sum([Field B]) > $(vUT), green(), yellow()))


talk is cheap, supply exceeds demand
Not applicable

Re: Create a block chart

Hi,

Go through this it might help u.

QlikView | Block Chart - YouTube

Community Browser