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