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: 
prees959
Creator II
Creator II

Set Analysis = Null Values

Hi,

I am loading in two tables SalesCountryA & SalesCountryB  which are linked by Sales Rep.

If I want to sum the the TotalSalesA from SalesCountryA where there is no corresponding sales for that Rep in SalesCountryB - could I do this in set analysis?

Something Like : sum({<sum(TotalSalesB is null>}TotalSalesA)

Thanks for any help!

Phil

Labels (1)
2 Replies
Anil_Babu_Samineni
MVP
MVP

May be these?

sum({<TotalSalesA = {' '}>}TotalSalesA)

OR

sum({<TotalSales = {"=Sum(TotalSalesA) = 0"}> + <TotalSales = {"Sum(TotalSalesA) = ' ' "}>}TotalSalesA)

OR

Sum(If(IsNull(TotalSalesA), TotalSalesA))

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
aarkay29
Specialist
Specialist

May be something like this

sum({<Rep=e({1<country={'B'}>})>}TotalSalesA)