# Query.jl @groupby How to specify the key selector properly?

**URL:** <https://discourse.julialang.org/t/query-jl-groupby-how-to-specify-the-key-selector-properly/46929>\
**Category:** General Usage\
**Created:** [September 19, 2020, 7:31pm UTC](https://discourse.julialang.org/t/query-jl-groupby-how-to-specify-the-key-selector-properly/46929 "2020-09-19T19:31:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kai](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kai](https://discourse.julialang.org/u/kai)\
**Post date:** [September 20, 2020, 5:19pm UTC](https://discourse.julialang.org/t/query-jl-groupby-how-to-specify-the-key-selector-properly/46929/2 "2020-09-20T17:19:33Z")

</div>

[This post](https://discourse.julialang.org/t/using-a-string-variable-in-a-query-jl-query/7372) looks related, but does not have a solution either.

Continuing the discussion from [Using a string variable in a Query.jl query](https://discourse.julialang.org/t/using-a-string-variable-in-a-query-jl-query/7372).

---

_[View the full topic](https://discourse.julialang.org/t/query-jl-groupby-how-to-specify-the-key-selector-properly/46929)._
