KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Excluir valores entre -1 e 1 #3098

Open inforsi opened this topic on on Jul 18, 2023 - 1 comments

inforsi commented on Jul 18, 2023

tenho uma tabela com vários valores. quero que liste todos os valores menos os valores entre -1 e 1.

estou a usar :

    ->pipe(new Filter(array(
        array("val",">","1"),
        array("val","<","-1"),
    )))

mas continua a aparecer valores como:

0

0.85 0.25 esses valores não deveriam aparecer pois sao valores entre -1 e 1 .

como faço para corrigir isto?

KoolReport commented on Jul 21, 2023

Let try this to see how:

    ->pipe(new Filter(array(
        array("val",">","1"),
        "or",
        array("val","<","-1"),
    )))

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

None