Skip to content

Commit ae343d9

Browse files
Merge pull request #820 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/query-docs (branch main)
2 parents 2667532 + 5cdc911 commit ae343d9

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

query-languages/dax/round-function-dax.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ A decimal number.
3333

3434
- If `num_digits` is less than 0, the number is rounded to the left of the decimal point.
3535

36+
- Ties are broken by rounding half away from zero (also known as commercial rounding).
37+
| Examples | Result |
38+
| --- | --- |
39+
| `= ROUND(1.15, 1)` | 1.2 |
40+
| `= ROUND(-1.15, 1)` | -1.2 |
41+
3642
- Related functions
3743
- To always round up (away from zero), use the ROUNDUP function.
3844
- To always round down (toward zero), use the ROUNDDOWN function.

query-languages/m/table-transformcolumntypes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Returns a table by applying the transform operations to the specified columns us
2121

2222
The type value in the `typeTransformations` parameter can be `any`, all of the `number` types, `text`, all of the `date`, `time`, `datetime`, `datetimezone`, and `duration` types, `logical`, or `binary`. The `list`, `record`, `table`, or `function` types aren't valid for this parameter.
2323

24+
For each column listed in `typeTransformations`, the ".From" method corresponding to the specified type value is normally used to perform the transformation. For example, if a `Currency.Type` type value is given for a column, the transformation function `Currency.From` is applied to each value in that column.
25+
2426
## Example 1
2527

2628
Transform the number values in the first column to text values.

0 commit comments

Comments
 (0)