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
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 755 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive