Rounding Decimals in ETL, not in Beast Mode
Comments

I do not see an option for rounding in a magic ETL but you can use the round() function in a MySQL dataflow. An example of how to use the function is below. You can copy and paste this into a transform in a MySQL ETL to see how it works. You would replace the 25.751 value with the column name that you want to round.
select 25.751 as my_value
, round(25.751) as whole_number
, round(25.751,1) as 1_decimal_place
, round(25.751,2) as 2_decimal_place

Chris0 
Hi cwolman,
I appreciate your help.
As my situation, it's so great if we can rounding decimals in ETL, but we should make a try when the ETL finish and use MySQL ETL to rounding decimals.
Thank you.
0 
@user10714 I found your post today while searching how to do the same thing myself.
I found a solution! You can use a set column type tile and change the decimal to a whole number. That rounds to the nearest whole number.
I also thought about converting the decimal to text and then breaking it apart with string operations, then combining back together, and then converting back to decimal.
Hope this helps you, or the next person to search this topic!
2
Categories
 All Categories
 1.2K Product Ideas
 1.2K Ideas Exchange
 1.3K Connect
 1.1K Connectors
 273 Workbench
 1 Cloud Amplifier
 3 Federated
 2.7K Transform
 78 SQL DataFlows
 525 Datasets
 2.1K Magic ETL
 2.9K Visualize
 2.2K Charting
 434 Beast Mode
 22 Variables
 510 Automate
 114 Apps
 388 APIs & Domo Developer
 8 Workflows
 26 Predict
 10 Jupyter Workspaces
 16 R & Python Tiles
 332 Distribute
 77 Domo Everywhere
 255 Scheduled Reports
 66 Manage
 66 Governance & Security
 1 Product Release Questions
 Community Forums
 40 Getting Started
 26 Community Member Introductions
 68 Community Announcements
 4.8K Archive