Filter Condition at dashboard

Hi guys, i have one dashboard with one filter that is working with this filter condition:

AND([problema]=ANY(Filtro[problemas]),
[corredor]=ANY(Filtro[corredor]),
[estacao]=ANY(Filtro[estacao])
)

But if i set only one filter condition, itโ€™s not work.

and i need to work if i set only one too.

Its possible to do it?
i tried to change the condition โ€œANDโ€ to โ€œORโ€ but doenโ€™t worked.

Solved Solved
0 3 145
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

Try:

AND(
  OR(
    ISBLANK(ANY(Filtro[problemas])),
    ([problema] = ANY(Filtro[problemas]))
  ),
  OR(
    ISBLANK(ANY(Filtro[corredor])),
    ([corredor] = ANY(Filtro[corredor]))
  ),
  OR(
    ISBLANK(ANY(Filtro[estacao])),
    ([estacao] = ANY(Filtro[estacao]))
  )
)

View solution in original post

3 REPLIES 3

Steve
Platinum 4
Platinum 4

Try:

AND(
  OR(
    ISBLANK(ANY(Filtro[problemas])),
    ([problema] = ANY(Filtro[problemas]))
  ),
  OR(
    ISBLANK(ANY(Filtro[corredor])),
    ([corredor] = ANY(Filtro[corredor]))
  ),
  OR(
    ISBLANK(ANY(Filtro[estacao])),
    ([estacao] = ANY(Filtro[estacao]))
  )
)

Ty Steve its what i wanted.
But there is one more problem

i need that all column stay in the view.
if one column is blank the next column stay hidding.
3X_c_2_c2f70d373b1a297f48e282780ee7946da4d1dfb4.png

if i set one value, the next show up
3X_9_9_99ef4702ebb24c0fee98fc9fa27989a21ef257b6.png

I found the solution, is because the columns are enums with data valid from the left view.

Top Labels in this Space