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

Aggregated Data

Dear all,

I need a output like this:

Aggregated Data.png

in Column C if you note it is having a aggregate Data of Column B. Can any one help me regarding this issue

16 Replies
Jason_Michaelides
Partner - Master II
Partner - Master II

Try this:

Accumulation.jpg

Hope this helps,

Jason

Not applicable
Author

Thanks jayson is there any other way?

Jason_Michaelides
Partner - Master II
Partner - Master II

I'm sure there is, but why?

Not applicable
Author

You can do this in the load script. Example:

Temp1:

LOAD * INLINE [

Month, Value

Apr, 10

May, 20

Jun, 30

Jul, 40

Aug, 50

];

Temp2:

NoConcatenate

LOAD

    Month,

    Value,

    if(isnull(peek('Sum')),0,peek('Sum'))+Value AS Sum

Resident Temp1;

Drop table Temp1;

Not applicable
Author

Hi Przemek,

Thanks i have tried that but it will give me a total aggregade data. i need to catagorise that for particular year Month Selection.....

i mean i need if i select a year it should start from that month of Year... but this will give me a overall Aggregade data

Jason_Michaelides
Partner - Master II
Partner - Master II

So why can't you use the Accumulation setting?

Not applicable
Author

Dear all,

This is what i exactly want..... last column which shud get divided by respective Month.....

Aggregated Data.png

Not applicable
Author

Hi

I don't know how you get the number in the yellow column. If the calcaultions are done as is stated in the header than the numbers are wrong. Your output look fine to me.

Not applicable
Author

Its just Column (4) divided by Column (1) that is in short i need to divide [Acc Data] by its respective Month.

But in Qlikview its not taking Column (4) data which is selected as  Accumulated in Front end.. Rather its taking the real values which are in Column (3).

I have attached the QVW file Which Might help you to understand my Problem