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

count diff value in single column

hiiii

need a help

Black List Code
H26.9
H26.9
H26.9
H26.9
H26.9
H25.9
H11.0
H26.9
H26.9
H26.9

in this column i have total 10 values

but in this there are different values

H26.9

H25.9

H11.0

now what i want is to count this individuals in different column and divide by 10

eg :

H26.9 =8

H25.9=1

H11.0=1


so anyone can help me in this


12 Replies
tamilarasu
Champion
Champion

Hi,

Straight Table -> Add [Black List Code] as Dimension -> Expression as Count([Black List Code])


Capture.PNG

sagarrahul
Creator
Creator
Author

thanks you for your help

But on thing more Tamil nagaraj this Black List Code are coming from a expression where they are in a wild match

so now how to i bring it as i want in my above query

tamilarasu
Champion
Champion

Sagar,

Could you please share some sample application. It would be helpful for me to provide the solution.

sagarrahul
Creator
Creator
Author

means what u want

sagarrahul
Creator
Creator
Author

see this table i am having need help me in this    

            

HOSPITAL_NAMEHOSPITAL_CODECLM_XGEN_CLAIM_NUMCLM_INTIMATION_DATECLM_LEVEL_OF_CAREClaim_Typetotal count of claimsBlack List CodeICD Code BlacklistValuestatusmax_dateClaim _noCurrent_dateDiffernceClaim_num
'Dr.Agarwal's Eye hospital'HEGIC-HS-03644RC-HS15-1033476028-Jan-2016Secondary-1H26.911.0Outlier28-Jan-2016RC-HS15-1033476015-Jun-2016140-
'Dr.Agarwal's Eye hospital'HEGIC-HS-03644RC-HS15-1033571103-Feb-2016Secondary-1H26.911.0Outlier03-Feb-2016RC-HS15-1033571115-Jun-2016134-
'Dr.Agarwal's Eye hospital'HEGIC-HS-03660RC-HS15-1034113908-Mar-2016Secondary-1H26.911.0Outlier08-Mar-2016RC-HS15-1034113915-Jun-2016100-
'Dr.Agarwal's Eye hospital'HEGIC-HS-03663RC-HS15-1034336122-Mar-2016Secondary-1H26.911.0Outlier22-Mar-2016RC-HS15-1034336115-Jun-201686-
'Dr.Agarwal's Eye hospital'HEGIC-HS-03663RC-HS16-1035275120-May-2016Secondary-1H26.911.0Outlier20-May-2016RC-HS16-1035275115-Jun-201627-
'Dr.Agarwal's Eye hospital'HEGIC-HS-03679RC-HS15-1033652008-Feb-2016Secondary-1H26.911.0Outlier08-Feb-2016RC-HS15-1033652015-Jun-2016129-
'Dr.Agarwal's Eye hospital'HEGIC-HS-03679RC-HS15-1033752615-Feb-2016Secondary-1H26.911.0Outlier15-Feb-2016RC-HS15-1033752615-Jun-2016122-
'Dr.Agarwal's Eye hospital'HEGIC-HS-03680RC-HS16-1035224717-May-2016Secondary-1H26.911.0Outlier17-May-2016RC-HS16-1035224715-Jun-201630-
susovan
Partner - Specialist
Partner - Specialist

Hi sagar,

Try this way,

Select your expression from "Expression" tab than do this change.

3.JPG

Warm Regards,
Susovan
tamilarasu
Champion
Champion

I meant your expression.

jonathandienst
Partner - Champion III
Partner - Champion III

I am afraid that does not help. You say the blacklist code is an expression. How do you expect use to help if we do not know what that expression looks like? Did you try adapting tamilarasu's suggestion by using a calculated dimension and a suitably modified expression?

I suggest that you upload a sample qvw with some representative data.

Preparing examples for Upload - Reduction and Data Scrambling

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
ramasaisaksoft

Hi Sagar,

show frequency.JPG

Above yellow color (Show Frequency)will help ypu to specify no.of times the value repeated in a list box

so ,try to create the list box with your expression and select this option.

i hope it will help you.