Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Variable for Days

  • M_date  is avaiable where I need formulae M_date for a Delivered Product Vz Incorrect Product.
  • Here I have to use the days not the months.The days start from current date (Today)
  • actual month = last 30 days(variable which suits the Formulae)
  • month before = last 30 days to last 60 days(variable which suits the Formulae)
11 Replies
qlikviewwizard
Master II
Master II

Hi,

Please use the below expression.

sum({<[Manufacturing date]={"<=$(=date(max([Manufacturing date])-60))"}>}SAL)

jagan
Luminary Alumni
Luminary Alumni

Hi,

Did you tried this

=Sum({<[Manufacturing year]=, [Manufacturing month]=, [Manufacturing date]={">=$(=date(max([Manufacturing date])-60)<=$(=date(max([Manufacturing date])-31)"}>} PosMenge)

Hope this helps you.

Regards,

jagan.