Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

sum

I have attached a QV document with two straight table

Claim_Nocount(DISTINCT Claim_No)
11
21
31
41
51
61
71
91
8
Rangecount(DISTINCT Claim_No)
200-3002
300-4002
400-5002
100-2003
>5005
14

In one table total count is 8 where as in the it is 14 against range. I want to show show total as 8 in Range table also. pls help me

1 Solution

Accepted Solutions
sunny_talwar

Here is how you do this in the front end (PFA)

HTH

Best,

Sunny

View solution in original post

17 Replies
buzzy996
Master II
Master II

i think ur expecting total as 17, just remove distinct on ur range table expression and see?

Anonymous
Not applicable

in qvw you can already see total as 8

as your claim ID falling in different rang thats what they counted twice in list.

Thanks

BKC

upaliwije
Creator II
Creator II
Author

wHAT i WANT IS 8 AS THE ANSWER EVEN AGAINST RANGE. IN ANY CASE THERE ARE ONLY 8 CLAIM NOS

buzzy996
Master II
Master II

ur range table already showing as 8,wht else ur looking for?

8.PNG

upaliwije
Creator II
Creator II
Author

there are only 8 claims . therefore first i want to group them by claim no and then apply range

sunny_talwar

by group by you mean you want to add all the amount against a specific claim_no and then give it a range? For instance claim_no 1 has amounts: 100,300,400 -> you want to add them up (which is 800) and then assign it to the range >500??

Is that what you are trying to do?

Best,

Sunny

upaliwije
Creator II
Creator II
Author

Yes that is exactly what I want

sunny_talwar

‌there is two ways you can do that, either in the script or the front end... Do you prefer one or the other?

Anonymous
Not applicable

Use this