I’m working in a Custom Analytics Board widget (Wrike Analyze) and trying to better understand how Wrike formulas handle conditional aggregation.
My goal is to isolate tasks where a specific Task Custom Text Field equals a particular value (e.g., "2025 Courses") and then:
- Count the number of tasks with that value
- Or sum a numeric field for those tasks
- Or calculate the average of a numeric field (e.g., Timelog Time Spent in minutes)
In traditional spreadsheet terms, I’m essentially looking for the equivalent of:
I’ve tried using IF() inside aggregation functions (e.g., wrapping logic inside AVG() or COUNT()), but I’ve run into syntax limitations in the Custom Analytics widget formula engine.
My questions are:
- What is the correct Wrike Analyze formula pattern for conditionally aggregating based on a specific Task Custom Field Text value?
- Is this done entirely within the formula editor using filters (Measured Value + Filter syntax)?
- Are there limitations on using
IF() or boolean logic inside aggregation functions in Custom Analytics widgets?
Any examples of properly structured formulas for this use case would be appreciated.