Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how do i perform subtraction

Find attached.

I wanna subtract but I tem and place in new item called Total1

1 Reply
swuehl
MVP
MVP

A little more details in your description would be helpful, it's pretty much unclear what you are trying to do here.

Maybe add something like this to calculate the difference between Inventory and Macs lines:

Concatenate (Final)

Load Dual ('Total1:',4) as Text,

  Year,

  Sum(If(No=26,Data))-Sum(If(No=36,Data)) as Data,

  7 as SORT

RESIDENT Final

where WildMatch(No, '*26*', '*36*') and Match(SORT,1,3,5)

Group By Year;