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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to calculate current weeks and current 12 weeks Sales in Pivot Table?

Hello Everyone,

Need Urgency

I have Actual Budget for every weekend in every month over the years.

In pivot table Dimensions are Brands and Business Unit.

Can you please help me to find out the Current 4 weeks Budget and YAGO Current 4 Weeks Budget ?

Please help me as early as possible

Thanks,

Amar

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

HI,

Check this link. Hope this will help.

The Magic of Set Analysis - Point in Time Reporting

Regards,

Kaushik Solanki

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

Maybe something like this:

sum({<BudgetWeek={'>$(=max(BudgetWeek)-4)<=$(=max(BudgetWeek))'}>}[Actual Budget)

sum({<BudgetYear={$(=max(BudgetYear)-1)}, BudgetWeek={'>$(=max(BudgetWeek)-4)<=$(=max(BudgetWeek))'}>}[Actual Budget)

If not, please post a small Qlikview document that illustrates the problem.


talk is cheap, supply exceeds demand