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: 
l26b
Contributor III
Contributor III

Formula for Action in Sheet

hi, I have an action on a sheet to select value in a filed with filed being Week number. 

I want it to select Max Week and Max week - 1 from the Maxium Year 

=Num(Max({< [Year] = {'2025'} >} [Week])) - but this formula is not working properly 

 

I want it to select last week and current week but I have multiple years in the app and I want it to always select max week from max year

 

I have a Fiscal week and can't select week(today) 

 

 

thank you

Labels (2)
3 Replies
VBD
Partner - Creator II
Partner - Creator II

Hi,

How is create your field "week" ?

Regards,

Valentin Billaud
Next Decision
Chanty4u
MVP
MVP

 

Week = Max(TOTAL {<Year={"=Max(Year)"}>} Week)-1)

 

BrandonFontes
Partner - Contributor III
Partner - Contributor III

@l26b 

Crie uma flag no script informando quando for a semana atual ou a semana atual -1.

 

Project Leader and Qlik Specialist at Work Avanti Solutions | www.avantisolucoes.com.br