cancel
Showing results for 
Search instead for 
Did you mean: 

Count specific values

Former Member
0 Kudos

Hi,

I have a dimension of Age-Years(Visit) That I would like to count only if the ages fall between 19-50. I also want to divide this by the total number to get a percentile. Is there a way to have Count do this to find the number?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

try something like this :

Count([Age-Years(Visit)] Where ([Age] between (19,50)))

Regards,

Rogerio

Former Member
0 Kudos

Thanks! I knew it was something with the syntax that I was getting wrong. My system asks for a ; between the values of the between statement but it works perfect!

Former Member
0 Kudos

Glad to know !!!

Regards,

Rogerio

Answers (0)