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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

expression does work

Hi

I have an expression like below :

Sum (field1)/(field2*Count (DISTINCT field3)*7)

somehow this does not display anything in the chart if i display the expression individually like Sum (field1) and(fields2*Count (DISTINCT field3)*7) i get the graph , but not when i divide them ..what could be the reason?

Thanks

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

There is nothing wrong with your expression.
It could be that the second part of your expression returns zero (deviding by zero is not possible)

yes an example would be helpful...

View solution in original post

5 Replies
Anonymous
Not applicable
Author

any help with this please?

hector
Specialist
Specialist

hi

maybe there are 2 or + values of field2 by row? do you have an example?

rgds

Anonymous
Not applicable
Author

field 2 is Available hours i have a time segment say 9:am -7pm then the avaibale hours values is 10 , so when i select values 9:am - 7pm from the filter time segment then available hours value will ne 10 ...

Anonymous
Not applicable
Author

There is nothing wrong with your expression.
It could be that the second part of your expression returns zero (deviding by zero is not possible)

yes an example would be helpful...

Not applicable
Author

Hi,

Pl post an sample application by explaining your problem.

-Sridhar