Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

Writing condition on measure column

Hi All,

     I need to develop one pie chart report in qlikview ,source for this report is Sql Server 2008R2.

In fact table having one measure value like IsScaning which can store either 0 or 1. In piechart need to display counr IsScaning=1 and Isscaning=0.

In qlikview reportng tool I can able to select Measure column in chart expressions.But I'm not able to specify any condition over that measure like IsScaning=0 or IsScaning =1.

Can you please guide me how can I achive this one using QlikView reporting tool.


Praveen Cirivelu

3 Replies
Not applicable

Re: Writing condition on measure column


Try using If condition in expression of pie chart.

count(if(IsScaning=0,Measure value,

IsScaning=1,Measure value))

Hope this helps.



Not applicable

Re: Writing condition on measure column


Its not working,I need to display Countof IsScaning=0 and IsScaning=1.In same piechart need to display both measures.

Honored Contributor II

Re: Writing condition on measure column

do u want to show to expressions?

if yes then try this


count(if(IsScaning=0,Measure value)


count(if(IsScaning=1,Measure value)

if you want to implement the AND condition in one expression then try this:

count(if(IsScaning=0 and IsScaning=1, Measure value)

if still your issue is not resolved then post the sample app.



Community Browser