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: 
nareshthavidishetty
Creator III
Creator III

current week ,Previous week

Hi all,

i got a requirement like my week starts from sat and ends on Friday so here i wanted to show completed week , and previous week

suppose my data is updated on 17/4/2016 its incomplete week bcos its in between Sat-Fri so here i want to show only completed week and previous week as s well

=If(Max(Date_Trans) < Floor(Weekend(Max(Date_Trans),0,5)),Date(Max(Date_Trans),

Date(Floor(Weekend(Max(Date_Trans),0,5))))

)

this gives me incomplete week ,complete week

2 Replies
sunny_talwar

this gives me incomplete week ,complete week

I don't think I understand this last line. What exactly is the issue and what are you trying to do?

nareshthavidishetty
Creator III
Creator III
Author

hi sunny thanks for the reply

i just want to show the current completed week suppose my week starts from saturday and  ends on fri and my data gets uploaded daily,think it is updated until 17/4/16 and it becomes incomplete ,does it make sense so here i want to show only completed week means till 15/4/2016 and previous week 8/4/2016

thanks

Naresh