|
|
|
BusinessObjects, нарастающий итог
|
|||
|---|---|---|---|
|
#18+
Пытаюсь посчитать сумму нарастающим итогом в кросс-таблице, разбитой по секциям. Западло в том, что нарастающий считается по всему отчету, а не в пределах секций (как мне нужно). Что делать? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.02.2007, 11:25 |
|
||
|
BusinessObjects, нарастающий итог
|
|||
|---|---|---|---|
|
#18+
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). Не оно? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.02.2007, 11:44 |
|
||
|
BusinessObjects, нарастающий итог
|
|||
|---|---|---|---|
|
#18+
авторНе оно? Не, не оно, Вы про MSReport, а я про BusinessObjects ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.02.2007, 11:51 |
|
||
|
BusinessObjects, нарастающий итог
|
|||
|---|---|---|---|
|
#18+
Читать документацию. Привожу кусок по 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. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.02.2007, 12:53 |
|
||
|
BusinessObjects, нарастающий итог
|
|||
|---|---|---|---|
|
#18+
Спасибо! У меня, к сожалению хелп не такой грамотный :) Вот такой (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 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.02.2007, 14:48 |
|
||
|
|

start [/forum/search_topic.php?author=Guest_001&author_mode=last_posts&do_search=1]: |
0ms |
get settings: |
10ms |
get forum list: |
13ms |
get settings: |
10ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
42ms |
get topic data: |
10ms |
get forum data: |
3ms |
get page messages: |
47ms |
get tp. blocked users: |
2ms |
| others: | 443ms |
| total: | 603ms |

| 0 / 0 |

Извините, этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
... ля, ля, ля ...