Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
gisellevaleta
Contributor III
Contributor III

Weekly Sales

Hi Everyone,

I'm new to qliksense and am battling abit with building expressions.

I have a date (day, week, month, year) field and a nett sales (total sales) field.

How do I build an expression to just return sales for the week?

1 Reply
Chanty4u
MVP
MVP

which week sales you want?

this takes you current week

Sum({$<Year={"$(=max(Year))"},Week={"$(=max(Week(Date)))"}>}[Sales])