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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Trying to create multiple total to 1st half and 2nd half of the year

Good day ma'am/sir,

please help, i dont know how to do a multiple total for the 1st and 2nd half of the year

i mean like this,

example.JPG

i dont have any idea how to do it,

thanks in advance,

your help will be very much appreciated.

thanks in advance.

have a nice day everyone!:)

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     There is no way to do this by keeping the month as dimension.

     The work around is you create an expression for each month. something like

     Sum({<Month = {"Jan"}>}Amount)

     ............

     And then use the method told by Mohit to get the Half year Total.

Regards,

Kaushik Solanki    

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

4 Replies
er_mohit
Master II
Master II

hey try this

in your chart if you want to get total 1h  upto july

then

in expression

try this

column(1)+column(2)+column(3)+column(4)+column(5)+column(6) and for total 2 h

try this

column(8)+column(9)+column(10)+column(11)+column(12)+column(13)

Not applicable
Author

Thank you  er.mohit for the reply,

sorry i forgot to mention i have the dimension month w/c have months jan-dec and that total 1H and 2H i just created it in excel,

what i want to do here is i want to get the total of the 1st half of the year from jan-jul and also total for 2nd half and whole year.

i can do this but,

example2.JPG

but i want to do it like this

example.JPG

so is it possible that i can divide dimension month field into 2 parts namely 1st half and 2nd half so i can create a multiple partial sums for both of them?

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     There is no way to do this by keeping the month as dimension.

     The work around is you create an expression for each month. something like

     Sum({<Month = {"Jan"}>}Amount)

     ............

     And then use the method told by Mohit to get the Half year Total.

Regards,

Kaushik Solanki    

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Thank you sir,

sorry i thought it was possible,

thank you for your help sir,

also to you er.mohit thank you for the help:)

i appriciated it!:)