Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum Value by Week No & Month

Hi Guys,

I would like to be able to calculate the sum of all invoices per week number for months.

For example.


WK1WK2WK3WK4WK5WK6WK7WK8WK9W10W11
Jan10010010010040





Feb



6010010010020

March







80100100
Total100100100100100100100100100100100

Is QlikView able to calculate into weeks?

1 Solution

Accepted Solutions
MayilVahanan

Hi

Try like this,

In script:

    Load *,Week(DateField) as Week from table;

Then use pivot table

Month and week as dimension

Sum(Invoice) as Expression

Then drag the week dimension in horizontal direction

Hope that helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

2 Replies
MayilVahanan

Hi

Try like this,

In script:

    Load *,Week(DateField) as Week from table;

Then use pivot table

Month and week as dimension

Sum(Invoice) as Expression

Then drag the week dimension in horizontal direction

Hope that helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Thats great thank you.