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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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?

Labels (1)
1 Reply
Chanty4u
MVP
MVP

which week sales you want?

this takes you current week

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