Report on Column with Multiple Unique Values
We are looking to build cards on a field/column that has multiple values from JIRA and need to report on it into DOMO.
Fi eld Information: Field contains associates names, and can contain anywhere from 0 to 20 people in this field for each row. This field can contain anyone from hundreds of end users we have today in the environment.
- For Example: Field contains values of : End User 1, End User 2, End User 3
When this field is pulled into Domo, each row containing this information in the column is now just one string of text and one value, instead of multiple values. We need to be able to build a card in DOMO to show the separate values in this field, and sum the total based on each end user:
Example of Data Pulled Into DOMO:
- Row One, Field Value: End User 1
- Row Two, Field Value: End User 1, End User 2
- Row Three, Field Value: End User 1
- Row Four, Field Value: End User 1, End User 3, End User 2
Example for Reporting Needed on Card:
- End User 1: 4 results total
- End User 2: 2 results total
- End User 3: 1 result total
Example of Reporting We are Getting Now (not what we need):
- End User 1 Total: 2
- End User 1, End User 2 Total: 1
- End User 1, End User 3, End User 2 Total: 1
What we want to be able to do is report how many times an end user shows up for each record, based on our process in the tool. How do we get DOMO to identify these unique values for the end users in order to report on each one individually?
Comments
-
Hi there!
I'm having a bit of trouble visualizing your dataset based on your row level description. Do you have column headers for each of the different values in the row?
For example:
Category User 1 User 2
Field Value End User 1
Field Value End User 1 End User 2
Could you possibly attach a screenshot of your dataset? That would make it easier to determine what transformations might need to take place to get the result you need.
Thanks!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'0 -
Thank you for the response. The dataset would not have different column headers for each of the different values; it would all be the same column header. This field can capture up to 500 different end users, and we cannot feasibly have 500 different column hearers for each end user.
For example:
Record# Users Date
123 End User 1 5/31/2017
124 End User 2, End User 1 5/26/2017
125 End User 3, End User 2, End User 1 6/01/2017
126 End User 1 5/26/2017
0 -
I wonder if you put all the columns - that are not that user column - to the left.
Then do a function to separate the values across columns - no matter how many that makes.
Then have the count execute on the array, rather than a single column.
I don't know, technically, how it would be accomplished in Domo, but I am hoping this may jog something for you that could help you keep going.
Good Luck!
DataMaven
Breaking Down Silos - Building Bridges
**Say "Thanks" by clicking a reaction in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 -
Hi @user00230 ,
Did you by any chance found the solution to this, I have a simmilar challenge.
Thanks,
0 -
Assuming that there are 0-20 possibly values you could make a MySQL dataflow like the following:
1st transform - named numbers
select 0 as `no` union
select 1 as `no` union
select 2 as `no` union
select 3 as `no` union
select 4 as `no` union
select 5 as `no` union
select 6 as `no` union
select 7 as `no` union
select 8 as `no` union
select 9 as `no` union
select 10 as `no` union
select 11 as `no` union
select 12 as `no` union
select 13 as `no` union
select 14 as `no` union
select 15 as `no` union
select 16 as `no` union
select 17 as `no` union
select 18 as `no` union
select 19 as `no` union
select 202nd transform - named data
select `Record#`
, trim(substring_index(substring_index(d.`Users`, ',', n.no), ',', -1)) as `User`
, `Date`
from `numbers` n
join `dev_test` d on char_length(d.`Users`)-char_length(replace(d.`Users`, ',', ''))>=n.`no`-1** Replace `dev_test` with the actual name of your dataset
Output Dataset
select `User`
, count(`User`) as `value`
from `data`
where not `User`=''
group by `User`
-----------------
Chris0
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