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

adding sub category

Dear All

As the example follows script

DescriptionAmount
Fixed Asset1200
Depreciation150
Total Net Asset ??????

i want to know how to get this adding command with description of Total Net asset.

sagara

2 Replies
niclaz79
Partner - Creator III
Partner - Creator III

Hi,

Exactly what you are after is not clear, however if you are looking at having Total Net Asset as a sum of the above lines in the script, it's very easy:

LOAD

     [Fixed Asset],

     [Depreciation],

     ([Fixed Asset] + [Depreciation]) as [Total Net Asset]

FROM ...

avinashelite

If you have the Description and Amount as columns in your  data set then ...

1.Add a straight table or Pivot table

2.Add the Description as the dimension

3. Expression sum(Amount)  and enable show Expression total in straight table or partial sum in Pivot table