{"id":7905,"date":"2012-11-27t10:06:36","date_gmt":"2012-11-27t15:06:36","guid":{"rendered":"\/\/www.deco-dalles.com\/?p=1555"},"modified":"2019-04-05t13:05:54","modified_gmt":"2019-04-05t17:05:54","slug":"mixing-and-and-or-options-in-primavera-p6-filters","status":"publish","type":"post","link":"\/\/www.deco-dalles.com\/mixing-and-and-or-options-in-primavera-p6-filters\/","title":{"rendered":"quick tip: mixing and and or options in primavera p6 filters"},"content":{"rendered":"

building a filter where all the conditions are either ‘and’ or \u2018or\u2019 between each row is pretty straightforward. however, if you want to mix them up a little its not so obvious how you should do that in oracle primavera p6 professional. this quick tip will show you how.<\/p>\n

example: i want to find all the milestones in the project that have a date variance that is not equal to zero. in other words, i want to see any milestone that is now sitting on a date other than its baseline date.<\/p>\n

because there are two types of milestone in primavera p6 professional, start and finish milestones, it\u2019s often necessary to use the \u2018or\u2019 parameter to get them all. but if you need some \u2018and\u2019 conditions too, you need to do some extra thinking.<\/p>\n

here\u2019s how the filter for the above scenario needs to look.<\/p>\n

\"variance<\/p>\n

above: the first two conditions must both be met (the activity is not completed and variance is not zero), and either of the second conditions can be met; in this case a start or a finish type milestone will meet the criteria.<\/p>\n

to indent the or condition rows under the and condition rows, we inserted a new row below the last \u2018and\u2019 condition and assigned the \u2018(any of the following)\u2019 option to it. all subsequent rows will have an or option in the first column until we insert another \u2018(all of the following)\u2019 option.<\/p>\n

once you get tuned into this method, you can build very powerful and sophisticated filters. you do need to think these through before attempting to build them. i generally try to start with all the \u2018and\u2019 conditions first, and then put my \u2018or\u2019 options below to avoid confusion and unnecessary complexity.<\/p>\n

\"new<\/a><\/span>