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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Rajkumar
Creator
Creator

Total Including Null value in pie chart

Hi all,

In Pie chart I am getting total value though I removed Null from dimension. Example

 

CITY  ,COUNTRY,sales ,sum(total sales)

DUBAI , UAE ,10, 80

ABUDHABI,UAE,30,80

SHARJAH,UAE,30,80

-,UAE,10,80

If I remove Null I have to get total as 70 not 80 .If I use expression sum(total sales).

Can anyone suggest the solution to get 70.

 

 

 

2 Replies
Anil_Babu_Samineni
MVP
MVP

Perhaps this

sum({<CITY-={"=null()"}>}total sales)

Or

sum({<CITY-={"=Len(CITY)=0"}>}total sales)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Kushal_Chawda
MVP
MVP

@Rajkumar  try below set expression

=sum(TOTAL {<CITY={"*"}>} sales)