Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add condition as an optional third parameter to functions as: sumInArray, minInArray... #8257

Closed
andrewtelnov opened this issue May 9, 2024 · 0 comments · Fixed by #8261
Closed
Assignees
Labels
enhancement user issue An issue or bug reported by users

Comments

@andrewtelnov
Copy link
Member

andrewtelnov commented May 9, 2024

We need to summarize based on condition.
sumInArray({matrixName}, 'column1') should sum column1 value for all rows
sumInArray({matrixName}, 'column1', '{column2}' > 3) should sum column1 value for rows if 'column2' is greater than 3.

The related private issue in SurveyJS Support forum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement user issue An issue or bug reported by users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant