Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
abhaysingh
Specialist II
Specialist II

Logic Help

HI Guys

i have data in attached excel

let say if i select Field , let say

1001805115

                                                                                                                                                                                                                              

FieldMaterial Count
1001805115
1002165806
100346384
10041254
100578907
130111568
1302491
1303234
1305202
140112606
1402396
1403217
1405310
16018505
1602296
1605199
170111784
1702633
1703219
1705319
180114257
1802662
1803236
1805286
190115754
19026941
1905195
2001355
23016709
23022022
2303634
2305110
25011573
2601950
27012040
27022562
2703315
28016960
2802294
280396
2805151
29012754
2902154
290338
290580
30012101
3002391
3003353
3101432
310293
310360
32017117
3202343
3203131
3205148

than report should show rest of the rows and in total count 805115 , shud be excluded.


i m trying to do this like count({1-$}Material count)

but getting wrong result

5 Replies
swuehl
MVP
MVP

Do you want to sum or count the remaining rows?

=Sum({1-$} [Material count])

sunny_talwar

What are you getting and what do you expect to see?

abhaysingh
Specialist II
Specialist II
Author

Hi,

does aggregation function really matters? in few conditions i want count and in few i want sum too

swuehl
MVP
MVP

Well, it might matter with regard to what you are expecting as a result, right?

So, as Sunny also asked for, could you describe what you get and what you expect to get?

abhaysingh
Specialist II
Specialist II
Author

even after using below condition

count({1-$ < Flag = {'TXN'}>}MaterialCount)

My count value is getting increase as actual count, not able to understand why..

pls suggest