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.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive