How to count values use Summarize node?


I’m trying to output a .json file showing the count of ‘已完成’, ‘未完成’ items.
What should I do for my Summarize node setting?

The Count is rolling up the number of times a field in the input occurs.
In your example, there is no field in your input named “status” so the count is zero.

The split-by will give you groups and you’ll get a count of the field in each group.

Also note that it’s just counting whether the field is there. It has nothing to do with the value of the field.

Here is an example you can run that shows a summarization count of an “alert” field that is in 2 of 3 input items matching group 1, and 1 of 5 items matching group 2. The split field is (cleverly) named “group.”

Please mark this as the solution if it answers your question.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.