Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count of two columns output

Hi All,

I required Output for the below columns as z= 1/6;

here is the table for the seven dates

   

01-02-201502-02-201503-02-201504-02-201505-02-201506-02-201507-02-2015
x001       null000
Y111        null111

x- sum of x;

y- count of distinct date where content= null

so my output should be z=x/y as z=1/6;

Thanks in advance

Avinash

2 Replies
swuehl
MVP
MVP

How does your resident table in your data model looks like? I assume above is kind of a chart layout?

And you are looking for y: count of distinct dates where content is not equal null, right?

Is 'null' a text value or a NULL in the resident table?

And you want the output in a text box?

You can look into some functions that might help you here:

sum(), rangesum(), isnull(), nullcount()

Not applicable
Author

thanks for your reply.

Actually i want this output in table box for a field. I got it through using sum.