Beast mode: Format numeric fields in Concat function
Is there a better way to format values in beast mode then using a bunch of case statements to insert commas (see example below)? The format function does not exist in beast mode.
WHEN `Amount Value` >= 10000 AND `Amount Value` < 99999
THEN CONCAT('$',LEFT(CONCAT(round(`Amount Value`,0),''),2),',',RIGHT(CONCAT(round(`Amount Value`,0),''),3))
Comments
-
To just clarify for me, are you after a unique format that when you click on the field once you drag it into the visualization and tell it that the field is a currency with the indicated number of decimals, that you are after a different view? I'd likely leave the formatting out of Beastmode unless you are definitely after something unique.
0 -
this is part of a larger concat beast mode for use as a header so the formatting options do not apply.
1 -
I haven't found a better way and sometimes the concats we use get really long. I wish Domo had a drag and drop summary number where we could add several numbers together and format it how we would like with a little more ease.
2 -
agreed... I find myself using the summary bar to do the real comparison against plan (metric) and formatting with RAG colors to designate if on track/ need improvement/ major issue. Both the formatting is complicated and especially on mobile devices the html coding doesn't work.
3
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