Using complex logic with comma-separated column values
Hello! I have a dataset that looks like this (for the purposes of my question, anyway):
ID Categories
1 A
2 A,B
3 B,C
.. and I want to be able to use complex logic on this field. e.g., WHEN Categories IN 'A' should return 2 rows with IDs 1 and 2, or I want to have a bar graph where the X axis is based on the Categories rather than showing combinations of them. To date, the solution has been a dataflow which converts the data into something like this:
ID Categories
1 A
2 A
2 B
3 B
3 C
This produces undesirable duplicates when looking at the data holistically, vs. per category. For example, with the first dataflow, if I look at row totals I end up at 3, but with the second dataset, it's 5. So, I end up creating a lot of duplicate reports: 1 based on the dataset, for holistic reporting, and 1 based on the dataflow, for per-category reporting. This is costing me a lot of time and complexity. Everytime I tweak one report, I have to tweak the other.. I have to duplicate all my beast modes.. I have to explain to people where you can filter on categories, and where you can't..
Is there a smarter way to do this?
Comments
-
Can anyone help with this request?
Thanks,
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