powered by simpleCommunicator - 2.0.59     © 2025 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Отчетные системы [игнор отключен] [закрыт для гостей] / Подсчет строк по условию
5 сообщений из 5, страница 1 из 1
Подсчет строк по условию
    #35586584
32sasha
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Необходимо подсчитать количество строк в базе удовлетворяющему определенное значение
Код: plaintext
=iif(Fields!Коэф.Value >  1 . 1  ,Count,Nothing) 
Как правиль написать формулу?
Данная формула должна быть в "textbox"
...
Рейтинг: 0 / 0
Подсчет строк по условию
    #35586897
LevS
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
что-то типа

=sum((Fields!Коэф.Value > 1.1 ,1,0))
---
This posting is provided "AS IS" with no warranties, and confers no rights.
...
Рейтинг: 0 / 0
Подсчет строк по условию
    #35587474
32sasha
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
LevSчто-то типа

=sum((Fields!Коэф.Value > 1.1 ,1,0))
---
This posting is provided "AS IS" with no warranties, and confers no rights.
спасибо, не работает, и выдало 4 ошибки
[rsAggregateofAggregate] The Value expression for the textbox 'textbox13' contains an aggregate function (or RunningValue or RowNumber functions) in the argument to another aggregate function (or RunningValue). Aggregate functions cannot be nested inside other aggregate functions.
[rsNonAggregateInMatrixCell] The BackgroundColor expression for the chart ‘chart2’ references a field outside an aggregate function. Value expressions in matrix cells should be aggregates, to allow for subtotaling.
[rsReportItemReference] The Value expression for the textbox ‘textbox13’ refers to the report item ‘textbox22’. Report item expressions can only refer to other report items within the same grouping scope or a containing grouping scope.
[rsMissingAggregateScope] The Value expression for the textbox ‘textbox13’ uses an aggregate expression without a scope. A scope is required for all aggregates used outside of a data region unless the report contains exactly one data set.
[rsMissingAggregateScope] The Value expression for the textbox ‘textbox13’ uses an aggregate expression without a scope. A scope is required for all aggregates used outside of a data region unless the report contains exactly one data set.
Build complete -- 4 errors, 1 warnings
...
Рейтинг: 0 / 0
Подсчет строк по условию
    #35588848
Саня Павлов
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
наверно имелось ввиду =sum(IIF(Fields!Коэф.Value > 1.1 ,1,0))
...
Рейтинг: 0 / 0
Подсчет строк по условию
    #35589181
LevS
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Саня Павловнаверно имелось ввиду =sum(IIF(Fields!Коэф.Value > 1.1 ,1,0))
да, конечно.
Спасибо!
...
Рейтинг: 0 / 0
5 сообщений из 5, страница 1 из 1
Форумы / Отчетные системы [игнор отключен] [закрыт для гостей] / Подсчет строк по условию
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


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