% of total

How can I get the % of total value in a table card, like the below? Data will be in a similar format to below, although the users will be able to pick a Year and Week Number.
Supplier | Pallets | % of total |
Supplier 1 | 5 | 15.63% |
Supplier 2 | 2 | 6.25% |
Supplier 3 | 6 | 18.75% |
Supplier 4 | 9 | 28.13% |
Supplier 5 | 3 | 9.38% |
Supplier 6 | 7 | 21.88% |
32 | 100.00% |
Comments
-
There's 2 ways you could go about this - one using the "Subtotal Rows" chart properties of the table card, and another aggregating your data in a dataflow for your cards to consume.
The former option will be visually different than what you proposed above in that there would be a subtotal row in your table, and not a column. This is accomplished by going into the "Subtotal Rows" chart properties, selecting "Show Subtotal Rows", and "Show as Percent of Total".
However if you use the latter option, you can include that "% of Total" as a column, as you have proposed. I'm not sure how you're bringing your data in for this card, however you can create a dataflow that aggregates your data via MagicETL or MySQL, and creating that column.
0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 657 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 815 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 81 App Studio
- 45 Variables
- 775 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 81 Workflows
- 23 Code Engine
- 40 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 1 AI Projects and Models
- 18 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 144 Manage
- 140 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive