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

Set multiple pre-set Values in formula

Hello community,

I want to sum the value of "FA.Abfuellzeit" for the current week in the current year.

the variable: vAktuelleKW = week(date(today()));

I started with the expression: =(sum({$<KW={$(=vAktuelleKW)}>} FA.Abfuellzeit)) which already puts out the value for the current week, but for all years possible.

How can I achieve it, that the year is the current one as well?

Thank you for your help in advance.

1 Solution

Accepted Solutions
Anil_Babu_Samineni

You meant to say this?

vMaxYear = Year(Today());


And Expression is this?

=(sum({$<KW={$(=vAktuelleKW)}, Year={$(=vMaxYear)}>} FA.Abfuellzeit))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

2 Replies
Anil_Babu_Samineni

You meant to say this?

vMaxYear = Year(Today());


And Expression is this?

=(sum({$<KW={$(=vAktuelleKW)}, Year={$(=vMaxYear)}>} FA.Abfuellzeit))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

Yes, it works!

Thank you, that was exactly what I was looking for, yet so simple!

I apprechiate that.

Thanks