Collapse columns based on value
I have a set of Call data where each row contains similar information in all columns but creates a new row based on the "flow" of the call.
For example:
LinkedId | Leg | LegType | MenuName | MenuOption | Initial Queue Name |
bos-z15-call3-1550235827.1062618 | leg 1 | Dial | curc-iready-q | ||
bos-z15-call3-1550235827.1062618 | leg 2 | Answer | curc-iready-q | ||
bos-z15-call3-1550235827.1062618 | leg 3 | EnterIVR | curc-auto-main-update | curc-iready-q | |
bos-z15-call3-1550235827.1062618 | leg 4 | EnterIVR | curc-auto-main-update_Special Event | curc-iready-q | |
bos-z15-call3-1550235827.1062618 | leg 5 | EnterIVR | curc_65950 | 2 | curc-iready-q |
bos-z15-call3-1550235827.1062618 | leg 6 | EnterIVR | curc-tech-support-update | curc-iready-q | |
bos-z15-call3-1550235827.1062618 | leg 7 | EnterIVR | curc-tech-support-update_Day | curc-iready-q | |
bos-z15-call3-1550235827.1062618 | leg 8 | EnterIVR | curc_66674 | 2 | curc-iready-q |
bos-z15-call3-1550235827.1062618 | leg 9 | EnterIVR | curc_32386 | curc-iready-q | |
bos-z15-call3-1550235827.1062618 | leg 10 | EnterQueue | curc-iready-q | ||
bos-z15-call3-1550235827.1062618 | leg 11 | Answer | curc-iready-q | ||
bos-z15-call3-1550235827.1062618 | leg 12 | Hangup | curc-iready-q | ||
bos-z15-call3-1550235827.1062618 | leg 13 | Hangup | curc-iready-q | ||
I'm trying to determine which calls are abandond from the information. The flow can change depending on the call but I want to seperate out each call that goes to voicemail (a specific LegType) and which calls Hangup without being answered.
The number of Legs can vary. But if they have a status of EnterQueue, I want to call out the ones that go to Voicemail, and ones that hangup after. Any other call will count as answered. In doing so I want to collapse the data and add an extra column that just says "Disposition" and have a value of answered, Voicemail, Or Abandoned.
Any assistance would be appreiated.
Comments
-
You should be able to do a beastmode (calculated field)
http://knowledge.domo.com?cid=beastmodecalculation
You would want to do a case statement something likeCASE
when `Leg` = 'leg 3' then 'Voicemail'
When `Leg` = 'leg12' then 'Hung up'
Else 'Answered'
EndIf you do this it should give you the three groups based on those categories. Then you can do a drill path to a card that has the details of each section.
0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 659 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 816 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 84 App Studio
- 46 Variables
- 778 Automate
- 190 Apps
- 482 APIs & Domo Developer
- 83 Workflows
- 23 Code Engine
- 41 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 2 AI Projects and Models
- 18 Jupyter Workspaces
- 411 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 11 Software Integrations
- 145 Manage
- 141 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 4.8K Archive