Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need help in expression

Dear Friends,

I am using QV 10 and in a pivot table i have written a expression like the following

=If([Statement Number]>1,Count([Transaction Reference]),0) but the total as well as partial sum shows as 0 only.

Is it possible to show the total of the expression.

Regards

Chriss

1 Solution

Accepted Solutions
MayilVahanan

Hi,

     Try this,

     =Count({< [Statement Number] = {">1"} > } [Transaction Reference])

     Refer the data once, is there any "Transaction Reference" data is greater than 1 for statement number..

     Can you post a sample file..

     Hope it helps..

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

5 Replies
Not applicable
Author

use count(if.... instead of if(count

this will help

Not applicable
Author

Hello Arasu,

Thanks for your reply, I tried with count(If....), could you please help me further.

Regards

Chriss

MayilVahanan

Hi,

     Try this,

     =Count({< [Statement Number] = {">1"} > } [Transaction Reference])

     Refer the data once, is there any "Transaction Reference" data is greater than 1 for statement number..

     Can you post a sample file..

     Hope it helps..

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

try this:

If([Statement Number]>1 or rowno()=0,Count([Transaction Reference]),0)

Not applicable
Author

Hi,

Your expression works exactly...

Regards

Chriss