Group on account name
Hi,
I am new to Domo. I currently have a card using Salesforce data that shows the average deal size per opportunity type.
I can show this per month and per quarter per filter.
For example:
Account Name Amount Close Date
Opportunity 1 Customer A 50 24 Oct 19
Opportunity 2 Customer A 100 24 Oct 19
Opportunity 3 Customer A 20 24 Oct 19
Opportunity 4 Customer B 40 14 Oct 19
Now it averages them like this: 50+100+20+40 / 4 = 52.5
However I would like to group the customer A opportunities that are on the same date as one.
So it average like this: (50+100+20) + 40 / 2 = 105
How can I do this?
Regards
Dorien
Comments
-
You can create a calculated field and use that as a summary number;
SUM(`Amount`) / COUNT(DISTINCT CONCAT(`Account Name`,' ',`Close Date`))
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman0
Categories
- 10.5K All Categories
- 3 Connect
- 913 Connectors
- 250 Workbench
- 458 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 476 Datasets
- 182 Visualize
- 249 Beast Mode
- 2.1K Charting
- 11 Variables
- 16 Automate
- 354 APIs & Domo Developer
- 88 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 245 Distribute
- 62 Domo Everywhere
- 242 Scheduled Reports
- 20 Manage
- 41 Governance & Security
- 168 Product Ideas
- 1.2K Ideas Exchange
- 9 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive