% 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
- 10.8K All Categories
- 3 Private Company Board
- 1 APAC User Group
- 12 Welcome
- 39 Domo News
- 9.7K Using Domo
- 1.9K Dataflows
- 2.5K Card Building
- 2.2K Ideas Exchange
- 1.2K Connectors
- 343 Workbench
- 260 Domo Best Practices
- 11 Domo Certification
- 465 Domo Developer
- 50 Domo Everywhere
- 105 Apps
- 714 New to Domo
- 85 Dojo
- Domopalooza
- 1.1K 日本支部
- 4 道場-日本支部へようこそ
- 27 お知らせ
- 64 Kowaza
- 299 仲間に相談
- 654 ひらめき共有