Hi All
I am trying to remove certain values and then whatever left after that, only return the unique values in the data. I have managed to get the filter correct using:
AND(IN([Status],LIST(Authorised,Draft)),isnotblank([Person]))
but then get stuck on the unique portion of whats left. So it currently returns 3 authorised with the same persons name, I only need one.
Any ideas?
Where are you trying to do this? In a slice?
That is correct
Use this as your slice row filter condition:
([_THISROW] = ANY(ORDERBY(FILTER("table", ...), [_ROWNUMBER])))
Replace table
with the name of the table the slice is for, and replace ...
with the expression youโd been using previously.
Hi @Steve
this does not function as the Any returns only one random value from the list from what I can see. I need all the values returned, minus the duplicates naturally
Did you try it?
Yes I put it in and got only one result, changed according to what I set my key as, but still one result
Yeah, I rushed my previous response; it was bad. Try this instead:
(
[_THISROW]
= ANY(
ORDERBY(
FILTER(
"table",
AND(
ISNOTBLANK([Person]),
([Person] = [_THISROW].[Person]),
IN([Status], LIST("Authorised", "Draft"))
)
),
[_ROWNUMBER]
)
)
)
Replace table
with the name of the table the slice is based on.
User | Count |
---|---|
16 | |
10 | |
9 | |
8 | |
3 |