I need to calculate cumulative backlog in card for the data filtered by various categories and date
This is the data for my chart. I have to show ticket created count ,ticket closed count and cumulative backlog count datewise . The dynamic filters are severity, domain, sub domain and date. The chart has to be look like below. The below chart is taken from excel report. I have to achieve this in domo. please provide ideas .
0
Answers
-
Hi @mahee84, in order to get that graph view, follow these steps:
- Select 'Line + grouped bar' in Chart Types
- Drag in your 'Cumulative Backlog' field in the X axis and then either Daily date fields in 1st Series spot and then the other Daily date field in 2nd Series column
- At the moment, it'll show as one bar and one graph so then you'll go into Chart Properties -> General -> Series on Left Scale and type in '2'
- Once applied, it'll show as 2 lines which then means you should add in your 'Ticket No' field to the 3rd Series column, resulting in a bar with two lines
- Afterwards, it's tidying up the y-axes in Chart Properties -> Value Scale, and other elements to match your Excel report.
8 -
cumulative backlog is just a window function
sum(sum(1)) over (order by date)
the trick is to know if on a date the ticket is still open
case when date<= closeDate then 1 else 0 end.
course this only works assuming you have a ticket on every single day or you might end up with gaps in your data.
https://www.youtube.com/watch?v=ZPf41Fjn1H8&t=592s
good luck!
Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 664 Datasets
- 120 SQL DataFlows
- 2.3K Magic ETL
- 825 Beast Mode
- Visualize
- 2.6K Charting
- 90 App Studio
- 46 Variables
- Automate
- 197 Apps
- 489 APIs & Domo Developer
- 94 Workflows
- 24 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 119 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 145 Governance & Security
- 12 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive