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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
aamaninanneboin
Contributor
Contributor

How to do WTD.

Hi All, 

 

I am trying to do WTD calculation and unable to fix it out. I am able to do with auto generated calendar but not with the normal expression. Can any one please help me out with the expression. 

 

Thanks,

Aamani 

1 Solution

Accepted Solutions
Vegar
MVP
MVP

Try
Sum({<Date={">=$(=Num(WeekStart( Max(Date) ) ) ) <=$(=Max(Date))"}>}[Amount])

View solution in original post

1 Reply
Vegar
MVP
MVP

Try
Sum({<Date={">=$(=Num(WeekStart( Max(Date) ) ) ) <=$(=Max(Date))"}>}[Amount])