Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Formula with AND

Hello,

I have a formula

=Sum( {<BMIYEAR={$(JaarVergelijking)}>} TOTAL )

and i want to have a clause added:

AND weeknumber <= Weeknumber of the sysdate.

How do i add this clause to my formula?

Thx in advance.

1 Solution

Accepted Solutions
saurabh5
Creator II
Creator II

you can incorporate your other clause in the set analysis itself

something like:

=sum({<BMIYEAR={$(JaarVergelijking},Weeknumber={"<=$(=max(weekday(sysdate))"}>}Total)

View solution in original post

2 Replies
saurabh5
Creator II
Creator II

you can incorporate your other clause in the set analysis itself

something like:

=sum({<BMIYEAR={$(JaarVergelijking},Weeknumber={"<=$(=max(weekday(sysdate))"}>}Total)

its_anandrjs

Write like

=Sum( {<BMIYEAR={$(JaarVergelijking)}, weeknumber = {'<=$(=Week(sysdate)  )'}     >} TOTAL  FieldName )

Otherwise

=Sum( {<BMIYEAR={$(JaarVergelijking)}, weeknumber = {'<=$(=Week(sysdate)  )'}     >} TOTAL  )

What is TOTAL here let me know

Regards

Anand