Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

current day

Hello everyone!

I am back again with another query.  I could not seem to find the right expression for my project.

what I want is to get the data total hours of current or latest DAY in my file.

I have used below expression but is giving me zero "0" value.

attached is the sample.

my objective is to get the data per tester on a daily basis (see attached picture)

4 Replies
tresesco
MVP
MVP

Try:

SUM({<OEE={'*UP*'}, WORKWEEK={$(=Max(WORKWEEK))},DAY={$(=WeekDay(Max(DATE)))}  >}HRS)

pooja_prabhu_n
Creator III
Creator III

Hi,

DAY is in text format, try Maxstring instead of Max(Day)

SUM({<OEE={'*UP*'}, WORKWEEK={$(=Max(WORKWEEK))}, DAY={$(=MaxString(DAY))} >}HRS)

Thanks,

Pooja

Anonymous
Not applicable
Author

Hi Pooja,

thanks for your help, I did try both your formula and below is my observation.

the second one using maxstring is giving me the previous day data.

while the first one gives the correct data that I need.

thank you so much!

Anonymous
Not applicable
Author

Hi Tresesco,

Your formula perfectly works!

thanks a lot...