Combing Data on a Table
I'm new to using Domo and I'm having a heck of a time trying to do something that I think is fairly routine. I have a table of customer order data. It includes an order #, customer email address, order total and a date. I essentially want rows of summary information instead of every entry on the table. I know I have to create beast mode calcs to do this but things like Count Distinct and Avg aren't don't seem to work. When I do Count Distinct Order # for example it just says there is 1 on the row as opposed to looking at all unique order #'s for that user.
For example I have something that looks like this
6/1 Bob@bob.com #1234 99.95
6/1 jane@jane.com #1123 99.95
6/2 jim@jim.com #1211 54.95
6/2 jane@jane.com #1126 77.95
6/3 jane@jane.com #1132 49.95
What I want is something like this:
Email Count of Orders Total Revenue Avg Order Size
bob@bob.com 1 99.95 99.95
jane@jane.com 3 227.85 75.95
jim@jim.com 54.95 54.95
Comments
-
You have to use the beast mode and thats the only way to accomplish this.
Try creating beast mode for this columns:
Distinct orders ?
COUNT(DISTINCT(ORDERS))
Avg order size:>
SUM(ORDERS TOTAL)/NULLIF(COUNT(DISTINCT(ORDERS)),0)
let me know if this works!
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 621 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 743 Beast Mode
- 58 App Studio
- 41 Variables
- 686 Automate
- 176 Apps
- 453 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 395 Distribute
- 113 Domo Everywhere
- 276 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive