Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
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
Partner - Champion III
Partner - Champion III

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.