Skip to content

Commit 5886889

Browse files
committed
update functions
1 parent 3111fbb commit 5886889

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

reporting-for-desktop/articles/report-designer/report-designer-for-winforms/use-expressions/functions-in-expressions.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ This topic lists the functions that you can use in an [expression](expressions-o
4040
| DateDiffSecond(startDate, endDate) | Returns the number of second boundaries between two non-nullable dates. | DateDiffSecond([StartTime], Now()) |
4141
| DateDiffTick(startDate, endDate) | Returns the number of tick boundaries between two non-nullable dates. | DateDiffTick([StartTime], Now()) |
4242
| DateDiffYear(startDate, endDate) | Returns the number of year boundaries between two non-nullable dates. | DateDiffYear([StartTime], Now()) |
43+
| DateTimeFromParts(Year, Month, Day, Hour, Minute, Second, Millisecond) |
44+
Returns a date value constructed from the specified Year, Month, Day, Hour, Minute, Second, and Millisecond.
45+
| DateTimeFromParts(2018, 5, 5, 20) |
4346
| GetDate(DateTime) | Extracts a date from the defined DateTime. | GetDate([OrderDateTime]) |
4447
| GetDay(DateTime) | Extracts a day from the defined DateTime. | GetDay([OrderDate]) |
4548
| GetDayOfWeek(DateTime) | Extracts a day of the week from the defined DateTime. | GetDayOfWeek([OrderDate]) |
@@ -306,6 +309,15 @@ Use the following functions when you [calculate a summary](../shape-report-data/
306309
sumAvg([UnitPrice])
307310
```
308311
312+
* sumCarryoverSum(Expression)
313+
314+
Calculates the carried forward and brought forward totals.
315+
316+
```
317+
sumCarryoverSum([ShipVia])
318+
```
319+
320+
309321
* sumCount(Expression)
310322
Counts the number of values within the specified summary region (group, page, or report). In a simple scenario, you may not pass a parameter.
311323

reporting-for-web/articles/report-designer/use-expressions/functions-in-expressions.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ This topic lists the functions that you can use in an [expression](expressions-o
4040
| DateDiffSecond(startDate, endDate) | Returns the number of second boundaries between two non-nullable dates. | DateDiffSecond([StartTime], Now()) |
4141
| DateDiffTick(startDate, endDate) | Returns the number of tick boundaries between two non-nullable dates. | DateDiffTick([StartTime], Now()) |
4242
| DateDiffYear(startDate, endDate) | Returns the number of year boundaries between two non-nullable dates. | DateDiffYear([StartTime], Now()) |
43+
| DateTimeFromParts(Year, Month, Day, Hour, Minute, Second, Millisecond) |
44+
Returns a date value constructed from the specified Year, Month, Day, Hour, Minute, Second, and Millisecond.
45+
| DateTimeFromParts(2018, 5, 5, 20) |
4346
| GetDate(DateTime) | Extracts a date from the defined DateTime. | GetDate([OrderDateTime]) |
4447
| GetDay(DateTime) | Extracts a day from the defined DateTime. | GetDay([OrderDate]) |
4548
| GetDayOfWeek(DateTime) | Extracts a day of the week from the defined DateTime. | GetDayOfWeek([OrderDate]) |
@@ -306,6 +309,14 @@ Use the following functions when you [calculate a summary](../shape-report-data/
306309
sumAvg([UnitPrice])
307310
```
308311
312+
* sumCarryoverSum(Expression)
313+
314+
Calculates the carried forward and brought forward totals.
315+
316+
```
317+
sumCarryoverSum([ShipVia])
318+
```
319+
309320
* sumCount(Expression)
310321
Counts the number of values within the specified summary region (group, page, or report). In a simple scenario, you may not pass a parameter.
311322

0 commit comments

Comments
 (0)