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