Days to close tickets with average as a line
Good morning everyone:
I have just started using Domo and I have been tasked with taking an exec prenintation out of Excel and into Domo.I cannot figure out how to build this chart.
- X - Axis: Date of ticket raised
- Y - Axis: Count of Ticket ID
- Stacked Bar: Grouping of ticket age
- Line: Average ticket age
This is what the current Excel chart looks like:
I have been able to get everything apart from the line to work. I have written the beat mode calculation to group the ticket ages but I cant figure out how to create a series for the line to show average age for the given period.
Could someone please point me in the right direction?
Best Answer
-
Do you have a column with the ticket age already calculated or are you doing that as a beastmode?
You could create something like this:
AVG(DATE_DIFF(`closedate`, `opendate`))
Put the AVG beastmode calculation as your first value in the 'Y Axis' area. Then create separate beast modes for each of the date ranges and add those beastmodes (making up your stacked bar) one after another in the 'Series' section.
For reference, I have a % change line with two bars on one of my charts, you can see how I broke the series up here:
Hope that helps getting you started.
Let me know if you have any other questions,
Valiant_Ronin
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.1
Answers
-
Do you have a column with the ticket age already calculated or are you doing that as a beastmode?
You could create something like this:
AVG(DATE_DIFF(`closedate`, `opendate`))
Put the AVG beastmode calculation as your first value in the 'Y Axis' area. Then create separate beast modes for each of the date ranges and add those beastmodes (making up your stacked bar) one after another in the 'Series' section.
For reference, I have a % change line with two bars on one of my charts, you can see how I broke the series up here:
Hope that helps getting you started.
Let me know if you have any other questions,
Valiant_Ronin
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.1 -
Thanks for the reply Valiant_Robin. It took me a while to get the calculation for the average line to work (still learning the MYSQL syntax) but I now have the chart.
Bonus advantage of your method is that I can order the series in a sensible manner.
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
- 618 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 739 Beast Mode
- 58 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 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