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.
7 -
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
- 7.7K All Categories
- 3 Connect
- 919 Connectors
- 244 Workbench
- 477 Transform
- 1.8K Magic ETL
- 60 SQL DataFlows
- 446 Datasets
- 38 Visualize
- 198 Beast Mode
- 2K Charting
- 8 Variables
- 1 Automate
- 348 APIs & Domo Developer
- 82 Apps
- Workflows
- 14 Predict
- 3 Jupyter Workspaces
- 11 R & Python Tiles
- 241 Distribute
- 59 Domo Everywhere
- 241 Scheduled Reports
- 15 Manage
- 36 Governance & Security
- 27 Product Ideas
- 1.1K Ideas Exchange
- Community Forums
- 14 Getting Started
- 1 Community Member Introductions
- 49 Community News
- 18 Event Recordings
- 579 日本支部