Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Отчетные системы [игнор отключен] [закрыт для гостей] / BusinessObjects, нарастающий итог / 6 сообщений из 6, страница 1 из 1
16.02.2007, 11:25
    #34335873
Очень лысый
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
BusinessObjects, нарастающий итог
Пытаюсь посчитать сумму нарастающим итогом в кросс-таблице, разбитой по секциям. Западло в том, что нарастающий считается по всему отчету, а не в пределах секций (как мне нужно). Что делать?
...
Рейтинг: 0 / 0
16.02.2007, 11:44
    #34335946
shady
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
BusinessObjects, нарастающий итог
BOLReturns a running aggregate of the specified expression.

Syntax

RunningValue(Expression, Function, Scope)


Parameters
Expression
(Data type is determined by the aggregate function specified in Function.) The expression on which to perform the aggregation. The expression cannot contain aggregate functions.

Function
(Enum) The name of the aggregate function to apply to the expression. This function cannot be RunningValue, RowNumber, or Aggregate.

Scope
(String) The name of a dataset, grouping , or data region that contains the report items to which to apply the aggregate function. If a dataset is specified, the running value is not reset throughout the entire dataset. If a grouping is specified, the running value is reset when the group expression changes. If a data region is specified, the running value is reset for each new instance of the data region. For more information about the Scope parameter, see Aggregate Functions (Reporting Services).
Не оно?
...
Рейтинг: 0 / 0
16.02.2007, 11:51
    #34335974
Очень лысый
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
BusinessObjects, нарастающий итог
авторНе оно? Не, не оно, Вы про MSReport, а я про BusinessObjects
...
Рейтинг: 0 / 0
16.02.2007, 12:53
    #34336250
Alexander Stoulov
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
BusinessObjects, нарастающий итог
Читать документацию.
Привожу кусок по WebI. Если у вас толстый клент, то синтаксис немного различается. В список измерений, по которым должен происходить сброс расчета надо вставить измерение секции и если надо еще и другие

С уважением, Стулов Александр
BI Partner


RunningSum

Description

Returns the running sum of a set of numbers

Function Group

Aggregate
Syntax
number RunningSum([measure];[Row|Col];[(reset_dimensions)])
Input

[measure]


Any measure

Row|Col


The calculation direction (optional)

reset_dimensions


The list of dimensions used to reset the running sum (optional)
Output
The running sum of the set of numbers



Example

RunningSum([Revenue]) returns these results in the following table:

...

RunningSum([Revenue];([Country])) returns these results in the following table:

...



Notes

*

You can use extended syntax context operators with the RunningSum() function (see Defining the Calculation Context).
*

You can set the calculation direction with the ROW and COL operators (see Row and Col Operators).
*

If you apply a sort on the measure referenced by the RunningSum() function, Web Intelligence applies the sort to the measure first, then calculates the running sum.
*

You must always place dimensions in parentheses even if there is only one dimension in the list of reset dimensions.
*

When you specify a set of reset dimensions you must separate them with semi-colons.
*

RunningSum() does not automatically reset the sum after a block break.
...
Рейтинг: 0 / 0
16.02.2007, 14:48
    #34336700
Очень лысый
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
BusinessObjects, нарастающий итог
Спасибо! У меня, к сожалению хелп не такой грамотный :) Вот такой (BO 6.5):

Description
Returns the running sum of a set of numbers.

Function Group

Aggregate
Syntax
number RunningSum(<variable>)

Input
<variable>
A variable containing the set of values whose running sum you want to track


Output
The running sum for each value of the variable
...
Рейтинг: 0 / 0
16.02.2007, 16:10
    #34337060
Alexander Stoulov
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
BusinessObjects, нарастающий итог
Тогда
http://]http://support.businessobjects.com/documentation/product_guides/default.asp

И выбирай себе по вскусу

С уважением, Стулов Александр
BI Partner
...
Рейтинг: 0 / 0
Форумы / Отчетные системы [игнор отключен] [закрыт для гостей] / BusinessObjects, нарастающий итог / 6 сообщений из 6, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]