Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G g1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 68
    • Issues 68
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cto
  • g1
  • Issues
  • #71

Closed
Open
Created Jul 02, 2018 by Pratap Vardhan@pratap.vardhanMaintainer

formhandler should support groupby

Summary

Gramex FormHandler now supports _by. See gramex#401

For GET requests, ?_by=State&_by=City does the following:

  • Group by State and City (in that order)
  • Show sum of all numeric columns
  • Show count of all non-numeric columns (including date columns)

We need following options in formhandler table

  • In column dropdowns to select that column has groupby key.
  • Ability to hide certain aggregate columns
  • Change aggregation type of the column
  • Placeholder alongside pagination to list down dimensions and metrics.

Benefits

This will allow users to create self-service explorations with formhandler interface.

Edited Jul 02, 2018 by Pratap Vardhan
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking