Share via

Microsoft lists view - filter statements

Anonymous
2023-01-17T10:25:50+00:00

Hi all,

I am trying to create MS Lists custom view without success.

I am creating simple list to handle tickets. The important parameters for view are task status (new / in progress / completed), person the task is assigned to (there can be multiple people) and responsible person (task supervisor).

I am trying to create custom view to show tasks which are new or in progress for current user (both as assigned to or responsible). I created simple filter statement (included in screenshot) however this is also showing tasks where user is responsible and task is completed. What am I doing wrong? Is there any way to include parentheses in this statement?

In pseudocode I want to to create statement like: (status=="new" || status=="In progress") && (responsible == Me || Assigned_to == Me), but result of statement in screenshot is like this: ((status=="new" || status=="In progress") && Assigned_to == Me) || (responsible == Me)

Thanks for any help.

Microsoft 365 and Office | SharePoint | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2023-01-31T09:27:56+00:00

Dear Mike,

You can try the following steps:

  1. Create a view with the following filter:

  1. In this new view, open the filters pane, and check the New and In progress boxes under the Task Status section:

  1. Then Save view as a new view.

I tested it on my side with the above steps, it meets your requirement on my side.

Original:

After:

Sincerely,

Jazlyn | Microsoft Community Moderator

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-01-18T09:59:09+00:00

    Hello Jazlyn,

    thanks for your suggestion however the problem is very similar now - with this filter I can see the tasks which status is in progress and are assigned to another person. In pseudocode ((Assigned_to == Me || responsible == Me) && status=="new" ) || (status=="In progress").

    Best regard,

    Mike

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-01-18T09:30:36+00:00

    Dear Michal,

    You can try the following filters to see the result:

    Sincerely,

    Jazlyn | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-01-17T13:50:44+00:00

    Hello Jazlyn,

    thanks for your reply. This might work however there are more task statuses (e.g. cancelled, interrupted, ...) which I forgot to mention. I would be glad if I find more universal solution (e.g. how to rewrite conditions that can be written in code).

    Thank you again for your time.

    Best regards,

    Mike

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2023-01-17T12:27:44+00:00

    Dear Mike,

    Good day! Thank you for posting your query in our community.

    Based on your description, you want to create a filter view for a MS List. I tested it on my side, you can try the following filter options:

    My test list:

    My result:

     

    Sincerely,

    Jazlyn | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments