Difference between pages "Adding Conditional Formatting Rules for OnePager Pro for Version 7.0" and "Conditional Formatting for Version 7.2 (Portal)"

From OnePager Documentation
(Difference between pages)
Jump to: navigation, search
(Adding Conditional Formatting Rules)
 
(Related Links)
 
Line 1: Line 1:
==About Adding Conditional Formatting Rules==
+
==Introduction to Conditional Formatting in OnePager==
  
1) Use the following steps to '''add''' a '''conditional formatting rule''' or rules to the '''Conditional Formatting Rules''' form's grid:
+
This series of article describes OnePager’s '''Conditional Formatting''' features. Illustrations used in this article are from OnePager Pro using data from Microsoft Project but the feature's function, controls, and manual edits apply equally to other OnePager editions that import from data sources like Microsoft Excel, Smartsheet, and Oracle Primavera P6.
  
2) From either the '''Task Bars''' or '''Milestones''' tab of the '''Chart Properties''' or '''Template Properties''' forms, click the '''Manage Rules...''' button:
+
==About Conditional Formatting==
  
<center>[[File:P70-11_3_1-70-(1)-09232019.png]]</center>
+
'''Conditional formatting''' allows you to define a '''set of rules''' that alter the look of your chart as the data in your '''source plan''' changes.  
<center>P70-11_3_1-70-(1)-09232019.png</center>
+
  
3) You are now ready to '''add''' rules.  
+
It goes beyond the '''dynamic color-coding''' feature described in the article at: [[Task Bars Tab for Version 7.1 | Task Bars Tab]] 21.3.1-71
  
4) Click the '''Add Rule''' button and OnePager then creates a blank line in the window shown above so you can enter the first rule.
+
The following elements can be defined by using '''conditional formatting''' rules:
  
5) The line consists of three major components:  
+
:* '''Shape''' (task bar or milestone symbol)
 +
:* '''Color''' (foreground color and background color)
 +
:* '''Fill Pattern''' (gradient and hash fill patterns)
 +
:* '''Height %'''
 +
:* '''Border Style'''
 +
:* '''Label Font Properties'''
 +
:* '''Label Position'''
 +
:* '''Legend Text'''
 +
:* '''Priority'''
  
:a) the rule '''select'''  and '''enable/disable''' checkboxes,
+
To go directly to the list of detailed articles for '''Conditional Formatting''' for OnePager, click here: [[Conditional Formatting for Version 7.2 (Portal)#Related Links | Related Links]] 11.0.1-72
  
:b) the rule '''condition''' columns, and
+
==Conditional Formatting Controls==
  
:c) the rule '''action''' columns.  
+
You can define '''conditional formatting''' rules either before or after you create new chart. To create rules before you create a chart, use the '''Template Properties''' form by navigating to the '''Task Bars''' or '''Milestones''' tab and navigating to the '''Conditional Formatting''' control group as shown below in the OnePager Pro '''Template Properties''' form:
  
6) '''Adding''', '''editing''', '''copying''', and '''deleting''' '''conditional formatting rules''' is very similar to the process for doing the same with respect to '''Conditional Import Filter Rules''' which are described at this link:  [[Conditional Import for Version 7.0 (Portal) | Conditional Import Filters (Portal)]] 7.18.1-70.
+
<center>[[File:P71-11_0_1-71-(1-1)-03142022.png]]</center>
 +
<!--<center>P71-11_0_1-71-(1-1)-03142022.png</center>-->
  
7) The sections that follow cover each of the major components of a '''conditional formatting rule'''.
+
Clicking the '''Manage Rules...''' button in this control group accesses the  '''Conditional Formatting Rules''' form where you can '''add''', '''edit''', and '''delete conditional formatting rules'''.  
  
==Rule Selection and Enable/Disable Checkboxes==
+
Detailed articles are provided to assist you with using the '''Conditional Formatting''' feature for OnePager below:  [[Conditional Formatting for Version 7.2 (Portal)#Related Links | Related Links]] 11.0.1-71
  
===Rule Selection Columns===
+
The same '''Conditional Formatting''' control group is available in the OnePager '''Chart Properties''' form as well as the '''Template Properties''' form.
  
1) The left most column in the grid, shown below, has the following function:
+
===Conditional Formatting Example===
  
<center>[[File:P70-11_3_1-70-(2A)-09232019.png]]</center>
+
As an example, the following chart, used throughout this Wiki, is shown below with the application of '''Conditional Formatting''' rules to vary the shapes used for tasks to indicate the '''Resource Name''' associated with each task shape shown.
<center>P70-11_3_1-70-(2A)-09232019.png</center>
+
  
2) The '''Rule Select''' checkbox is provided so you can select the rule for '''editing''', '''copying''', or '''deletion'''.
+
<center>[[File:P70-11_0_1-(2)-06052020.png]]</center>
 +
<!--<center>P70-11_0_1-(2)-06052020.png</center>-->
  
===Enable/Disable or On Column===
+
To achieve this result in the chart, below is the simple set of '''Conditional Formatting Rules''' used:
  
3) The checkbox to the right of the '''Rule Select''' cell with the column heading of '''On''' provides control over turning the rule '''On''' and '''Off'''.
+
<center>[[File:P71-11_0_1-71-(3)-01072022.png]]</center>
 +
<!--<center>P71-11_0_1-71-(3)-01072022.png</center>-->
  
4) When the '''On''' checkbox in the column above is checked, the columns that include the rule '''conditions''' and '''actions''' are '''enabled'''.
+
==Related Links==
  
5) It may become useful to have sets of rules in the '''Conditional Formatting Rules''' form and by turning them '''On''' or '''Off''' as required you can achieve a variety of results.
+
The articles listed in the table below describe OnePager’s '''Conditional Formatting''' feature.  Illustrations used in these articles are from OnePager Pro but the feature's function, controls, and manual edits apply equally to OnePager Express and OnePager Bundle.
  
==Rule Condition Columns==
+
<center>
 +
{| class="wikitable"
 +
| [[Conditional Formatting Overview for OnePager for Version 7.2 | Conditional Formatting Overview]] 11.1.1-72
 +
|-
 +
| [[Adding Conditional Formatting Rules for OnePager for Version 7.2 | Adding Conditional Formatting Rules]] 11.3.1-72
 +
|-
 +
| [[Conditional Formatting with Boolean Fields for OnePager for Version 7.2 | Conditional Formatting with Boolean Fields]] 11.5.1-72
 +
|-
 +
| [[Managing Conditional Formatting Rules for OnePager for Version 7.2 | Managing Conditional Formatting Rules]] 11.9.1-72
 +
|-
 +
| [[Conditional Formatting Rules and the Legend for OnePager for Version 7.2 | Conditional Formatting Rules and the Legend]] 11.11.1-72
 +
|-
 +
| [[Conditional Formatting Rules and the Template for OnePager for Version 7.2 | Conditional Formatting Rules and the Template]] 11.13.1-72
 +
|-
 +
| [[Conditional Formatting Actions for OnePager for Version 7.2 | Summary of Conditional Formatting Actions]] 11.7.1-72
 +
|}
 +
</center>
  
1) There are three '''rule condition''' columns as shown below:
+
[[Basic Workflows for Version 7.2 (Portal) | Basic Workflows (Portal)]] 7.0.1-72
  
<center>[[File:P70-11_3_1-70-(2)-09232019.png]]</center>
+
[[Manual Editing Task/Milestone Shapes and Text Labels for Version 7.2 (Portal) | Manual Editing Task/Milestone Shapes and Text Labels (Portal)]] 9.0.1-72
<center>P70-11_3_1-70-(2)-09232019.png</center>
+
  
===Field Column===
+
[[Modifying Decorations on Tasks/Milestones for Version 7.2 (Portal) | Modifying Decorations on Tasks/Milestones (Portal)]] 10.0.1-72
  
2) In the '''Field''' column shown below is a dropdown that allows you to select the field from your Microsoft Project '''source plan'''.  
+
[[The Chart Legend for Version 7.1 (Portal) | The Chart Legend (Portal)]] 15.0.1-71
  
<center>[[File:P70-11_3_1-70-(3)-09232019.png]]</center>
+
[[Editing with the Chart Properties form for Version 7.1 (Portal) | Editing with the Chart Properties form (Portal)]] 21.0.1-71
<center>P70-11_3_1-70-(3)-09232019.png</center>
+
 
+
3) OnePager Pro '''imports''' all the fields from your Microsoft Project '''source plan''' so they are all available for use as a '''Field''' in a '''conditional formatting rule'''.
+
 
+
===Operator Column===
+
 
+
4)The '''Operator''' column shown below is a dropdown that allows you to pick from a list of operators depending on the '''data type''' of the '''Field''' selected as discussed above:
+
 
+
<center>[[File:P70-11_3_1-70-(4)-09232019.png]]</center>
+
<center>P70-11_3_1-70-(4)-09232019.png</center>
+
 
+
5)  Since OnePager Pro knows the field '''type imported''' from your Microsoft Project '''source plan''', the '''Operator''' column shows the appropriate operator selections when the dropdown menu above is accessed.
+
 
+
====Text String Field Types====
+
 
+
6) For '''Text String''' field '''types''' there are four operators:
+
 
+
:a) '''equal''',
+
 
+
:b) '''not equal''',
+
 
+
:c) '''Contains''', and
+
 
+
:d) '''Does not contain'''.
+
 
+
====Numeric and Data Field Types====
+
 
+
7) For '''Numeric and Date''' field '''types''', the operators are shown here:
+
 
+
<center>[[File:P70-11_3_1-70-(5)-09232019.png]]</center>
+
<center>P70-11_3_1-70-(5)-09232019.png</center>
+
 
+
8) For '''Numeric and Date''' field '''types''' there are six operators:
+
 
+
:a) '''equal''',
+
 
+
:b) '''not equal''',
+
 
+
:c) '''less than'''
+
 
+
:d) '''less than or equal'''
+
 
+
:e) '''greater than'''
+
 
+
:f) '''greater than or equal'''
+
 
+
====Boolean Field Types====
+
 
+
9) For '''Boolean''' fields '''types''' (i.e., '''Yes/No''', '''True/False''') the operators are shown below.
+
 
+
<center>[[File:P70-11_3_1-70-(6)-09232019.png]]</center>
+
<center>P70-11_3_1-70-(6)-09232019.png</center>
+
 
+
10) For '''Boolean''' field '''types''' there are two operators that can be expressed in two different ways as shown below:
+
 
+
:a) '''Yes''' or '''1'''
+
 
+
:b) '''No''' or '''0'''
+
 
+
11) The '''Value''' column is ghosted since selecting the '''Operator''' satisfies the need for a value.
+
 
+
===Value Column===
+
 
+
12) The '''Value''' column is the grid cell that you fill in that is the '''match''' desired against the '''Field Column''' given the contents of the '''Operator Column'''.
+
 
+
====Boolean Field Types====
+
 
+
13)  The '''Value''' column is not used when the '''Field''' column is a Microsoft Project '''Boolean type'''.
+
 
+
====Text String Field Types====
+
 
+
15)  For '''Text String type''' fields, any text that might appear in a Microsoft Project '''text string field''' can be typed in to the '''Value''' column's grid cell for a rule.
+
 
+
:a) '''Note''' that for string '''matches''', it is permissible to have the '''Value''' column be a set of strings separated by commas. 
+
 
+
:b) In this situation, the rule is '''matched''' when the column '''value is equal''' to '''any''' of the comma separated values.
+
 
+
:c) To make the comparison between '''text''' data specified in the '''Field''' column of the '''Conditional Formatting Rules''' form, OnePager trims leading and trailing '''white''' space such as blanks or control characters. 
+
 
+
:d) However, OnePager does not trim '''excess white space''' within a valid character string.
+
 
+
====Numeric Field Types====
+
 
+
16) For '''Numeric type''' '''matches''' any integer or integer with a decimal fraction is permissible.
+
 
+
====Date Field Types====
+
 
+
17) For '''Date type matches''' the '''Value Column''' provides the standard OnePager '''calendar''' when you click in the '''Value Column''' and the '''Field Column''' is a '''date type field''' as shown below:
+
 
+
<center>[[File:P70-11_3_1-70-(6B)-09232019.png]]</center>
+
<center>P70-11_3_1-70-(6B)-09232019.png</center>
+
 
+
18) The '''Value''' column can be used to compare against '''today’s date''' by clicking the '''Today: ...''' checkbox in the '''Pick a date Calendar''' form shown above. 
+
 
+
19) This is useful for establishing a rule where it is important to '''color''' or otherwise highlight a task whose '''Finish date''' is less than or equal to '''today’s date''', for example.
+
 
+
===Applies to Column===
+
 
+
20) OnePager Pro performs the evaluation and then '''applies''' the formats specified in the rule to the tasks or milestones or both as determined by the '''Applies to''' column as shown here: 
+
 
+
<center>[[File:P70-11_3_1-70-(6A)-09232019.png]]</center>
+
<center>P70-11_3_1-70-(6A)-09232019.png</center>
+
 
+
21) To tell OnePager whether to apply a rule to tasks, to milestones, or to both, there are three options for the '''Applies to''' column as shown below:
+
 
+
:a) Both
+
 
+
:b) Tasks
+
 
+
:c) Milestones
+
 
+
==Rule Action Columns==
+
 
+
1) The columns in the '''Conditional Formatting Rules''' form's grid following the '''Condition''' columns are nine (9) '''Action''' columns.
+
 
+
2) When a '''condition''' in the rule '''matches or is true''' all valid '''actions''' are applied to the chart.
+
 
+
3) If the rule's '''condition''' does '''not match or is false''' none of the '''actions''' specified in the '''Action''' columns are taken and applied to the chart.
+
 
+
4)  The '''Conditional Formatting Rules''' form's grid has a '''horizontal scroll bar''' allowing you to scroll to the left or right to being all of the nine '''Action''' columns into view within the grid as shown in the illustrations below:
+
 
+
<center>'''Horizontal Scroll Bar to the Far Left'''</center>
+
<center>[[File:P70-11_3_1-70-(7)-09232019.png]]</center>
+
<center>P70-11_3_1-70-(7)-09232019.png</center>
+
 
+
 
+
<center>'''Horizontal Scroll Bar in the Middle'''</center>
+
<center>[[File:P70-11_3_1-70-(8)-09232019.png]]</center>
+
<center>P70-11_3_1-70-(8)-09232019.png</center>
+
 
+
 
+
<center>'''Horizontal Scroll Bar to the Far Right'''</center>
+
<center>[[File:P70-11_3_1-70-(9)-09232019.png]]</center>
+
<center>P70-11_3_1-70-(9)-09232019.png</center>
+
 
+
5) In the three illustrations above the thee '''Conditions''' columns of '''Field, Operator, and Value''' remain fixed in the grid and do not scroll left or right.
+
 
+
==Related Links==
+
  
[[Conditional Import for Version 7.0 (Portal) | Conditional Import Filters (Portal)]] 7.18.1-70
+
[[Managing Templates for Version 7.1 (Portal) | Managing Templates (Portal)]] 24.0.1-71
  
[[Manual Editing Task/Milestone Shapes and Text Labels for Version 7.0 (Portal) | Manual Editing Task/Milestone Shapes and Text Labels (Portal)]] 9.0.1-70
+
[[Gallery of Dynamic Shapes and Emoji Symbols for Version 7.1 | Gallery of Dynamic Shapes and Emoji Symbols]] 29.3.1-71
  
[[Modifying Decorations on Tasks/Milestones for Version 7.0 (Portal) | Modifying Decorations on Tasks/Milestones (Portal)]] 10.0.1-70
+
==Other Resources==
  
[[The Chart Legend for Version 7.0 (Portal) | The Chart Legend (Portal)]] 15.0.1-70
+
[https://www.onepager.com/support/video_tutorials/conditional_formatting.html Conditional Formatting Tutorial Video]  <!--Conditional Formatting may expand in scope in version 7.2-->
  
[[Editing with the Chart Properties form for Version 7.0 (Portal) | Editing with the Chart Properties form (Portal)]] 21.0.1-70
+
[https://www.onepager.com/community/blog/display-certainty-in-your-plan-by-using-conditional-formatting/ Blog-Display Certainty in Your Plan by Using Conditional Formatting]
  
[[Managing Templates for Version 7.0 (Portal) | Managing Templates (Portal)]] 24.0.1-70
+
[https://www.onepager.com/community/blog/using-microsoft-project-flag-fields-with-onepager-pros-conditional-formatting-rules/ Using Microsoft Project Flag Fields with OnePager Pro's Conditional Formatting Rules]
  
(11.3.1-70)
+
(11.0.1-72)
  
[[Category:Version 7.0]]
+
[[Category:Version 7.2]]
 
[[Category:Charts]]
 
[[Category:Charts]]
 
[[Category:Conditional Formatting]]
 
[[Category:Conditional Formatting]]
[[Category:Templates]]
+
[[Category:Template Properties Form]]
 
[[Category:Chart Properties Form]]
 
[[Category:Chart Properties Form]]
 
[[Category:Editing the Chart]]
 
[[Category:Editing the Chart]]
 
[[Category:Task/Milestone Editing]]
 
[[Category:Task/Milestone Editing]]
 +
[[Category:Legend]]
 
[[Category:Labels]]
 
[[Category:Labels]]
 
[[Category:Color Palettes]]
 
[[Category:Color Palettes]]
Line 220: Line 107:
 
[[Category:Mavericks]]
 
[[Category:Mavericks]]
 
[[Category:OnePager Pro]]
 
[[Category:OnePager Pro]]
 +
[[Category:OnePager Express]]
 +
[[Category:OnePager Bundle]]

Revision as of 17:20, 20 May 2022

Introduction to Conditional Formatting in OnePager

This series of article describes OnePager’s Conditional Formatting features. Illustrations used in this article are from OnePager Pro using data from Microsoft Project but the feature's function, controls, and manual edits apply equally to other OnePager editions that import from data sources like Microsoft Excel, Smartsheet, and Oracle Primavera P6.

About Conditional Formatting

Conditional formatting allows you to define a set of rules that alter the look of your chart as the data in your source plan changes.

It goes beyond the dynamic color-coding feature described in the article at: Task Bars Tab 21.3.1-71

The following elements can be defined by using conditional formatting rules:

  • Shape (task bar or milestone symbol)
  • Color (foreground color and background color)
  • Fill Pattern (gradient and hash fill patterns)
  • Height %
  • Border Style
  • Label Font Properties
  • Label Position
  • Legend Text
  • Priority

To go directly to the list of detailed articles for Conditional Formatting for OnePager, click here: Related Links 11.0.1-72

Conditional Formatting Controls

You can define conditional formatting rules either before or after you create new chart. To create rules before you create a chart, use the Template Properties form by navigating to the Task Bars or Milestones tab and navigating to the Conditional Formatting control group as shown below in the OnePager Pro Template Properties form:

P71-11 0 1-71-(1-1)-03142022.png

Clicking the Manage Rules... button in this control group accesses the Conditional Formatting Rules form where you can add, edit, and delete conditional formatting rules.

Detailed articles are provided to assist you with using the Conditional Formatting feature for OnePager below: Related Links 11.0.1-71

The same Conditional Formatting control group is available in the OnePager Chart Properties form as well as the Template Properties form.

Conditional Formatting Example

As an example, the following chart, used throughout this Wiki, is shown below with the application of Conditional Formatting rules to vary the shapes used for tasks to indicate the Resource Name associated with each task shape shown.

P70-11 0 1-(2)-06052020.png

To achieve this result in the chart, below is the simple set of Conditional Formatting Rules used:

P71-11 0 1-71-(3)-01072022.png

Related Links

The articles listed in the table below describe OnePager’s Conditional Formatting feature. Illustrations used in these articles are from OnePager Pro but the feature's function, controls, and manual edits apply equally to OnePager Express and OnePager Bundle.

Conditional Formatting Overview 11.1.1-72
Adding Conditional Formatting Rules 11.3.1-72
Conditional Formatting with Boolean Fields 11.5.1-72
Managing Conditional Formatting Rules 11.9.1-72
Conditional Formatting Rules and the Legend 11.11.1-72
Conditional Formatting Rules and the Template 11.13.1-72
Summary of Conditional Formatting Actions 11.7.1-72

Basic Workflows (Portal) 7.0.1-72

Manual Editing Task/Milestone Shapes and Text Labels (Portal) 9.0.1-72

Modifying Decorations on Tasks/Milestones (Portal) 10.0.1-72

The Chart Legend (Portal) 15.0.1-71

Editing with the Chart Properties form (Portal) 21.0.1-71

Managing Templates (Portal) 24.0.1-71

Gallery of Dynamic Shapes and Emoji Symbols 29.3.1-71

Other Resources

Conditional Formatting Tutorial Video

Blog-Display Certainty in Your Plan by Using Conditional Formatting

Using Microsoft Project Flag Fields with OnePager Pro's Conditional Formatting Rules

(11.0.1-72)