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