Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

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

@Rajkumar  try below set expression

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