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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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