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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

a peculiar row level aggregartion

I have a peculiar case now .

I have a huge table with Income numbers with different types of costs and transactions listed.

Now i have to display a summary table like this

where MISC=Revenue-Expenditure-taxes

DescCost
Revenue1000
taxes200
expenditure300
misc

view is structured in such a way that sum(Cost) yields the total number of respective Cost in Desc except "Misc" which is a calc value.

Now i dont understand how to write the expression.

is there any work around?

Krishna

3 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Can you attach the qlikview file.

Regards,

Jagan.

vijay_iitkgp
Partner - Specialist
Partner - Specialist

Hi ,

You can create these expressions without any dimension in Pivot table and transpose it.

vijay_iitkgp
Partner - Specialist
Partner - Specialist

Exp1: Sum(If(Desc='Revenue',Cost))

Exp2: Sum(If(Desc='Expenses',Cost))

Exp3: Sum(If(Desc='Tax',Cost))

Exp4: Column(1)-Column(2)-Column(3)

And after that drag it to vertical