Concat + Round
Hello, I need a text card that has a specific text concatenated to a beast mode, which is a percentage value.
Currently I have the syntax as:
But it returns this
And my scrap values is of 2.09% (0.02089 in the beast mode before multiplying by 100)
Any help provided is appreciated.
Thanks in advance.
Did you check your formatting options in in the optional value field? You can control what data type it should be and the decimal places just like you do on any other card. You can even choose percentage, so you don't have to do any beast mode gymnastics.**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.1
If i had to guess you have an error in when your beastmode evaluates the concat.
Can you confirm that Round(BeastMode*100,2) delivers the expected result in a table card?
Does your CONCAT function wrap an aggregation or does it evaluate at the row level?
consider the differnece between:
concat('text', round(`metricA` / 1000,2))
concat('text', round(sum(metricA) / 1000,2))
the first will calculate at the row-level whereas the second will calculate AFTER aggregation. If I use the first calculation, you might get A result, but it's probably not the expected result.Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0
- 7.7K All Categories
- 3 Connect
- 919 Connectors
- 244 Workbench
- 477 Transform
- 1.8K Magic ETL
- 60 SQL DataFlows
- 446 Datasets
- 38 Visualize
- 198 Beast Mode
- 2K Charting
- 8 Variables
- 19 Cards, Dashboards, Stories
- 1 Automate
- 348 APIs & Domo Developer
- 82 Apps
- 14 Predict
- 3 Jupyter Workspaces
- 11 R & Python Tiles
- 241 Distribute
- 59 Domo Everywhere
- 241 Scheduled Reports
- 15 Manage
- 36 Governance & Security
- 27 Product Ideas
- 1.1K Ideas Exchange
- Community Forums
- 14 Getting Started
- 1 Community Member Introductions
- 49 Community News
- 18 Event Recordings
- 579 日本支部