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

query

i want Total  while Having value 0 to Th salei want Total while Having value 0 to Th sale

 SO As In 3rd Line IT is showing the value 0 But But I want Total Value As 1250

Labels (1)
1 Solution

Accepted Solutions
kfoudhaily
Partner - Creator III
Partner - Creator III

if I understand well your question, here is the expression to use:

if(Dimensionality()=0,sum(sale),if(sale>0,0,'N'))

kfoudhaily_0-1670334943144.png

 

please don't forget to accept response if it's ok for you.

 

regards,

QlikView Qlik Sense consultant

View solution in original post

6 Replies
kfoudhaily
Partner - Creator III
Partner - Creator III

if I understand well your question, here is the expression to use:

if(Dimensionality()=0,sum(sale),if(sale>0,0,'N'))

kfoudhaily_0-1670334943144.png

 

please don't forget to accept response if it's ok for you.

 

regards,

QlikView Qlik Sense consultant
Nitesh_Jaiswal
Contributor
Contributor
Author

thanks for the solution this is what we needed. but i have one q as can we use only those two table one is dimension which is zone and and another that expression table only  , i dont want to show that sum(sale) row.

Nitesh_Jaiswal
Contributor
Contributor
Author

thanks for the solution this is what we needed. but i have one q as can we use only those two table one is dimension which is zone and and another that expression table only  , i dont want to show that sum(sale) row.

kfoudhaily
Partner - Creator III
Partner - Creator III

i'm not sure I understand, can you develop a bit more?

 

regards,

QlikView Qlik Sense consultant
Nitesh_Jaiswal
Contributor
Contributor
Author

i want like this  but whenever i remove that sum (sale)i want like this but whenever i remove that sum (sale)i get thisi get this

Nitesh_Jaiswal
Contributor
Contributor
Author

i want thisi want thisbut i get thisbut i get this