Skip to content

ArgumentError: List of aggregates should not be empty #500

Open

Description

@ShubhankarKG

I was following the tutorial for Cubes. After creating the browser, the next command is

result = browser.aggregate()

On trying this, I got an error:

/usr/local/lib/python3.7/dist-packages/cubes/sql/browser.py in aggregation_statement(self, cell, aggregates, drilldown, split, for_summary)
    530 
    531         if not aggregates:
--> 532             raise ArgumentError("List of aggregates should not be empty")
    533 
    534         if not isinstance(drilldown, Drilldown):

ArgumentError: List of aggregates should not be empty

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions