Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
fdelacal
Specialist
Specialist

add set analysis

i don´t know where i put the set analysis.

num((sum({$<STAFFID= {"*"}-{"0000*"}>}if(STATUSBOOK<5,GSP_BOOKING.SESSIONDURATION_XOR))*24)

/

(sum(aggr(if ( not isnull((GSP_STAFFTIME.ETIME -GSP_STAFFTIME.STIME)),sum(GSP_STAFFTIME.ETIME -GSP_STAFFTIME.STIME),0),STAFFID,STARTDATE))*24),FormatoNumPorcen)

I NEED PUT THIS.

FECHA = {"$(='>='&WeekStart('$(vFechaWeeklyReport)'-7)&'<='&WeekEnd('$(vFechaWeeklyReport)'-7))"}

REGARDS

1 Reply
Gysbert_Wassenaar

There are three sum functions in that expression. That gives you eight possible combinations. Try them all and see which one gives the correct result.


talk is cheap, supply exceeds demand