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.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