I am trying to write an expression for a slice that will contain a list of projects if the โTech 1โ field is not blank and it contains the name of the user logged into the app or if โTech 2โ contains the name of of the user logged in. Also, the list must contain all projects whose status is not โCompleteโ. This is what I wrote, but canโt get it to return the list with just the statusโ that are not โCompleteโ:
AND(OR(AND(ISNOTBLANK([Tech 1]),CONTAINS(useremail(),[Tech 1])),AND(ISNOTBLANK([Tech 2]),CONTAINS(useremail(),[Tech 2]))),[Status]<> โCompleteโ)
Should the first AND be OR?
Doing that returns projects that belong to other techs as well.
Iโve added another piece to the expression so that I donโt see the projects that Iโve marked to remove from my list. Those do not display, but still see all my projects even if they are complete.
AND(OR(AND(ISNOTBLANK([Tech 1]),CONTAINS(useremail(),[Tech 1])),AND(ISNOTBLANK([Tech 2]),CONTAINS(useremail(),[Tech 2]))),AND([Status]<> โCompleteโ,(ISBLANK([Remove?]))))
I think I just figured it out. I changed how my values were calculated so my spreadsheet is blank until I save the items and generate a value.
Gotcha
User | Count |
---|---|
40 | |
34 | |
29 | |
23 | |
17 |