I cannot figure out why my expression is not working

I have a table that i need to hide rows based on a column value. I want to hide ALL rows that have the value โ€œPaymentsโ€ in the โ€œdocument Typeโ€ column - see raw data table:

Here is my expression:

Yet in my app - i still see rows with the column value - โ€œPaymentsโ€:

Solved Solved
0 19 584
1 ACCEPTED SOLUTION

Bahbus
New Member

Sorry, I forgot since we are using inequalities, you need to use AND().

View solution in original post

19 REPLIES 19

What is the column type?

Text

Out of curiosity, does it correctly filter to only payments if you were to switch from <> to = ? I know this isnโ€™t what you want in the long run, I just want to see if it correctly filters everything else.

i can try it - i may be putting the expression in the wrong placeโ€ฆ

Or any chance that the value contains space in the end?

no. These columns shouldnโ€™t carry any spaces:

Actuallyโ€ฆ itโ€™s in a wrong place. You should use slice instead of Show?

oh okโ€ฆ So in the slice - use that expression? Is my expression correct?

Yes it is. Create a slice and then use it as a condition rule. Then use that slice as a source for your view.

ok. I will try this. Thanks

Youโ€™re welcome

worked! Now i need to also take out โ€œCredit Memosโ€ do i use:

AND(โ€ฆ

or

OR(โ€ฆ

In your case, OR().

Ok. Thanks again guysโ€ฆ

Wellโ€ฆ

I am still seeing the โ€œCredit Memosโ€:

Raw Data Table:

Bahbus
New Member

Sorry, I forgot since we are using inequalities, you need to use AND().

Have you changed the source for your view? You should use the slice instead of original table.

Yes - i changed the source. but i was using OR(โ€ฆ

Let me try AND(โ€ฆ

okโ€ฆ using AND(โ€ฆ worked.

Thank yaโ€™ll very much!

Top Labels in this Space