Bar Chart -- Add Unique or Count Distinct to Axis/Series Aggregation
I am building a card to reflect work completion status and found repeating IDs are counted repeatedly. Is there any way to have "unique" or "count distinct" function there? Source data is attached too.
Please see the image below for comparison between data shown on a stacked bar chart & sumo card. Please understand: I cannot use Sumo card as I need to drilldown to further details. Of course, if Sumo cards is made drill-path enabled, then there is no issue.
The expected result is to have "6" (unique count) shown on WIP portion of the bar chart.
Comments
-
If I'm understanding your question correctly, I believe the solution would be to add a Beast Mode to accomplish this, as "unique" or "count distinct" are not aggregation options in the value field dropdown. The syntax would be something like: COUNT(DISTINCT `feature_id`). Does this achieve your desired outcome?
0 -
Actually, no. While it is a solution to use beast mode to display distinct count, there is no way to use it in a bar chart......In my example, I would like to see "6" for the WIP portion of the bar, not "71" shown currently.
0 -
Here's an example of a horizontal stacked bar chart with a count distinct of one field and a count of another field. To add more fields to the chart you can simply add them to the series (as long as they're aggregated). Is this what you're trying to accomplish?
0 -
Thank you for your reply. However the data I provided was only partial of what we need. As an end goal, we would need to have a 100% stacked bar showing completed, WIP and Not Started. Data label should show %_VALUE (count).
Here is the end result I'm looking for (generated using excel), and data used for this chart.
Thanks.
0 -
Thank you for your reply. However the data I provided was only partial of what we need. As an end goal, we would need to have a 100% stacked bar showing completed, WIP and Not Started. Data label should show %_VALUE (count).
Here is the end result I'm looking for (generated using excel), and data used for this chart.
Thanks.
0 -
Thank you for your reply. However the data I provided was only partial of what we need. As an end goal, we would need to have a 100% stacked bar showing completed, WIP and Not Started. Data label should show %_VALUE (count).
Here is the end result I'm looking for (generated using excel), and data used for this chart.
Thanks.
0 -
@scottjackson, tagging you to check out @Hua's reply.
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
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 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