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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

combine 2 field

hi guys,

I have a file, where there is 2 field like city and country.

I'd like to calculate sore for country and cities in 1 table.

Score1Score2Score3Score4
47611861
47463545
47445
58564223
541388
44783365
88881358
8564512
4642388
2572874
77127275
86793565
78881614
1278432
86483523
26231575
35891356
78421288

Please find my attached file.

Thanks,

14 Replies
Anonymous
Not applicable
Author

Sorry about it.

I added Score5 (Yes, No and missing value)

Thank you,

Anonymous
Not applicable
Author

I just modified the test file.

I want to see % of Yes for each tag and also average of % for countries.

sunny_talwar

And how is percentage calculated? Can you give an example from your database?

Best,

S

Anonymous
Not applicable
Author

I usually calculate"

dimension  -Name1

Count({<Score5={'Yes'}>} Name1)/ Count (Total Name1)

and the same for Name2

But I don't know how to combine 2 fields in 1

sunny_talwar

This may not be the best way to do this, but nonetheless PFA

Best,

S