Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
ElPantera
Contributor II
Contributor II

Pivot table roll-up from a floating table

Hi Qlikers!

I have two floating tables which I am using for an income statement made from an Inline table load,

ISSUB:
Load * Inline [
Sort, IS
1, Gross Profit
];

ISSUB:
Load * Inline [
IS, ISSUB
Gross Profit, Revenue
Gross Profit, Cost
];

So these are not linked to my fact table and isolated floating table. I am using a pivot table 

if(IS='Syntell GP',sum(PERCENTAGE AMOUNT])-sum(Fee),
if(ISSUB='Syntell Revenue',sum([PERCENTAGE AMOUNT]),
if(ISSUB='Syntell Cost',sum(Fee)
,0)))

ElPantera_0-1614950930563.png

Whereas Ideally I should be getting 3 different individual numbers i.e Gross Profit 20, Revenue 100, and Cost 80 for example.

Any idea how to achieve this?

0 Replies