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.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 303 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3K Transform
- 104 SQL DataFlows
- 640 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 769 Beast Mode
- 72 App Studio
- 43 Variables
- 718 Automate
- 185 Apps
- 462 APIs & Domo Developer
- 57 Workflows
- 14 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 402 Distribute
- 116 Domo Everywhere
- 277 Scheduled Reports
- 9 Software Integrations
- 135 Manage
- 132 Governance & Security
- 8 Domo Community Gallery
- 44 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 111 Community Announcements
- 4.8K Archive