beast mode using rank function

I have created a beast mode using rank() and using it to filter a chart. It is able to process the desired chart. But while saving the card domo says "There was a problem saving your card. If the problem persists, contact the Domo support team."
RANK() OVER (PARTITION BY first_day_of_month ORDER BY COUNT(DISTINCT user_id) DESC)
However, it used to work earlier.
Best Answer
-
@chetan_cricut The error is likely because of the COUNT(DISTINCT ) in your order by clause. I've often seen beast mode errors when using aggregates inside of other aggregate/window functions. Are you able to hard-code that count using ETL?
0
Answers
-
@chetan_cricut The error is likely because of the COUNT(DISTINCT ) in your order by clause. I've often seen beast mode errors when using aggregates inside of other aggregate/window functions. Are you able to hard-code that count using ETL?
0
Categories
- All Categories
- 1.1K Product Ideas
- 1.1K Ideas Exchange
- 1.2K Connect
- 970 Connectors
- 259 Workbench
- Cloud Amplifier
- 1 Federated
- 2.4K Transform
- 76 SQL DataFlows
- 502 Datasets
- 1.8K Magic ETL
- 2.7K Visualize
- 2.2K Charting
- 379 Beast Mode
- 21 Variables
- 487 Automate
- 104 Apps
- 379 APIs & Domo Developer
- 6 Workflows
- 22 Predict
- 6 Jupyter Workspaces
- 16 R & Python Tiles
- 319 Distribute
- 67 Domo Everywhere
- 252 Scheduled Reports
- 59 Manage
- 59 Governance & Security
- 1 Product Release Questions
- 5K Community Forums
- 37 Getting Started
- 23 Community Member Introductions
- 64 Community Announcements
- 4.8K Archive