Data bars in table view
Best Answer
-
You could still use the main table graph and adjust the bar length using HTML code in the Beast Mode. In the attached is the following formula used:
CONCAT('<div style="background-color:#7940a1;',CONCAT('width:',RAND()*100,'px;'),'height:100%;margin-left:-75px;padding:30px">','</div>')
Specifically, you can replace the RAND() formula and use your measure (as percent of total) in the CONCAT formula and try out which left margin and padding spaces work better.
Hope that helps.
1
Answers
-
The table, as built in this article is actually using HTML code to embed images of the Sales "bar code"
I would encourage you to try building this table using the new Flex Table Card.
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman1 -
You could still use the main table graph and adjust the bar length using HTML code in the Beast Mode. In the attached is the following formula used:
CONCAT('<div style="background-color:#7940a1;',CONCAT('width:',RAND()*100,'px;'),'height:100%;margin-left:-75px;padding:30px">','</div>')
Specifically, you can replace the RAND() formula and use your measure (as percent of total) in the CONCAT formula and try out which left margin and padding spaces work better.
Hope that helps.
1
Categories
- 10.5K All Categories
- 7 Connect
- 917 Connectors
- 250 Workbench
- 464 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 191 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 246 Distribute
- 62 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 173 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive