Summary Number based on subtotal value
I have a card where I show the ratio of opportunities closed to opportunities available in each quarter.
That part is easy.
The card requestor would also like to see the average ratio closed/available for the last 4 quarters combined, on the same card,
My first idea was to use the summary feature for this. But that appears to include either the data for the entire data set, or only the data for the current time period.
Is there a way to show a summary value for only and specified subset of the data?
1. The entire data set covers from 2011 to current.
2. When reporting for today, selection criteria is set to the dates for 2015-Q1 to 2016-Q2. With ratio per Qtr.
3. The 4 Qtr ratio would be the opportunities closed / available for the total of current qtr (2016-Q2) back to 2015-Q3
Any ideas?
Comments
-
you can use a beast mode field to calculate the ratio where you would only include records where the Opportunity date is between certain dates. in your calculation you would have a case statement to check for the dates.
assuming you're loading the opportunity records with a Date and OppertunityStatus fields, you can do something like this:
Sum(case when `Date` >= '2015-01-01' and `OpportunityStatus` = 'Closed' then 1 else 0 end) / Sum(case when `Date` >= '2015-01-01' then 1 else 0 end)
You probably want to figure out how to calculate the start date using a beast mode formula. If not, you can hard code the date since you only have to change this once a quarter.
In the beast mode window, make sure to check the "Apply to Summary Number" checkbox. Then use this field as your summary number field and set the summary number to use all values.
Domo Arigato!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'0 -
@cwalliser, did Godzilla's reply help you out?
0 -
I think I forgot to state in my original post that we use are doing a distinct count of records per order id. Is there a way too use this logic for distinct count?0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 297 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 614 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 729 Beast Mode
- 53 App Studio
- 40 Variables
- 677 Automate
- 173 Apps
- 451 APIs & Domo Developer
- 45 Workflows
- 8 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 121 Manage
- 118 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive