Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentError: List of aggregates should not be empty #500

Open
ShubhankarKG opened this issue Sep 2, 2021 · 0 comments
Open

ArgumentError: List of aggregates should not be empty #500

ShubhankarKG opened this issue Sep 2, 2021 · 0 comments

Comments

@ShubhankarKG
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant