# New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Save \$300 - Register for QlikWorld (formerly Qonnections) by January 31st: Learn More
New Contributor III

## count if multiple dimension

Hi Everyone,

I'm trying to count those ID Conversations that were answered within 30seconds.

I just do not know how to insert the [nAnswered] condition on the below.

1 Solution

Accepted Solutions
Honored Contributor II

## Re: count if multiple dimension

Hi Isabel

try this

or

Learning never stops.
12 Replies
Valued Contributor

## Re: count if multiple dimension

HI Isabel,

Count( Distinct {<tAnaswered={"<=30"},nAnswered={1} >} [ID: Conversation])

I hope this helps,

Luis

New Contributor III

## Re: count if multiple dimension

I do not know the reason why it is counting 32.38 . It should be 0

Valued Contributor

## Re: count if multiple dimension

But if you only want it in a table like you have in the post then you just need a calculated one:

If you need it as a KPI then this should do:

Count( Distinct {<tAnaswered={"<=30"},nAnswered={1} >} [ID: Conversation])

I hope this helps,

Luis

Valued Contributor

## Re: count if multiple dimension

I think it's because 32.38 comes from a Sum, and you seem to be trying to use the direct value

New Contributor III

## Re: count if multiple dimension

this returns everything to 0.

New Contributor III

## Re: count if multiple dimension

hmmm

how can I insert sum function here? I should sum the tAnswered

Valued Contributor

## Re: count if multiple dimension

You're not comparing it correctly as you're displaying Sum(tAnaswered) but then using the field without aggregation in your IF

Valued Contributor

## Re: count if multiple dimension

Please see if this example helps you:

Cheers,

Luis

Edited: changed data as two rows were clubbed together

Honored Contributor II

Hi Isabel

try this