Hello everyone, first of all thank you for the help you can give me.
I have a Slices table in which I am trying to create an expression that allows me to filter by the states of a column.
Depending on the state and the days elapsed since the registration date, it must be displayed or not.
For example, if a record has the status โRejected for Complianceโ and the record date was โ10/10/2021โ it will only be visible during the next 10 days from the record date, that is, it should be shown until today since tomorrow will have been 11 days.
I have tried to create an expesion but I have not been able to achieve the result, I thank you in advance for the help you can give me.
I am attaching a screenshot with the statuses that I have and the days in which they will be visible from the date of registration according to their status.
Thank you
Maybe something like this:
OR(
IN(
[Status],
LIST(
"Active",
"Pending to verify"
)
),
(
(TODAY() - [Registration date])
<= SWITCH(
[Status],
"Inactive Agent", 5,
"Give up discharge", 10,
"Rejected closeness", 10,
...,
0
)
)
)
See also:
User | Count |
---|---|
37 | |
30 | |
29 | |
22 | |
18 |