Filtering/counting results #368
Unanswered
coltspackers
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I think what you are looking for is the reduce transformation. See https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/transform-data/?utm_source=grafana#reduce |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is anyone aware of a way to filter and count results from a panel that's using this plugin?
Basically, my panel is returning JSONata fields, and I want to count the number of fields returned that contain a certain string. So if I return 6 fields and only 3 contain the string, I want the panel to just show a "3".
I think there should be a way to do this via panel settings or transformations, but for some reason i'm really struggling to get it to work.
Beta Was this translation helpful? Give feedback.
All reactions