SlideShare a Scribd company logo
MC University
R09|Advanced Reporting: Custom Expressions and Criteria
MC University
Custom Expressions Defined
Fixed Criteria Defined
Agenda
MC University
Custom Expressions Overview
Calculate Increase in Cost Example
Convert Date Field Example
Custom Expressions Defined
MC University
Custom Expressions are used to modify
format of a field or perform calculations
Examples of Custom Expression uses:
• Remove time stamp from a date field
• Change display case (e.g. all UPPERCASE)
• Calculate elapsed time (e.g. days open or time
taken to respond)
Custom Expressions Overview
MC University
Steps to create Custom Expressions:
• Determine which field to base expression on
• Select field to use as placeholder
• Adjust label for Report column
• Select Custom Expression? indicator
• Create and enter Custom Expression
Custom Expressions Overview (cont’d)
MC University
Custom Expressions are not case
sensitive
Common Expressions include:
• DATEDIFF
• GETDATE()
• CONVERT
Custom Expressions Overview (cont’d)
MC University
Custom Expression Examples:
Custom Expressions Overview (cont’d)
Description Expression
Upper Case a Field Value UPPER(WO.Reason)
Days Work Order Open
since Requested Date
DATEDIFF(day,WO.Reque
sted,GETDATE())
Hours to Issue Work Order DATEDIFF(hour,WO.Reque
sted,WO.Issued)
Date Returned without Time
Stamp
LEFT(WO.Requested,12)
Adding two field values
together (e.g., Work Order
Labor Cost + Work Order
Parts Cost)
WO.CostLaborActual+WO.
CostPartActual
MC University
In this example an Inventory report will
use a Custom Expression to calculate
the costs of re-ordering with a 10%
increase in cost
Calculate Increase in Cost: Example
MC University
Determine field name to base
expression on and select placeholder
field:
Calculate Increase in Cost: Example (cont’d)
MC University
Enter Custom Label for placeholder field
and appropriate Field Type:
Calculate Increase in Cost: Example (cont’d)
MC University
Set Custom Expression control to Yes
and enter expression into Custom
Expression Box:
Calculate Increase in Cost: Example (cont’d)
MC University
Result on Report will show forecasted
price:
Calculate Increase in Cost: Example (cont’d)
MC University
In this example an Open Work Order
List report will be used to convert the
WO.Requested date and time format to
only show the date
Convert Date Field: Example
MC University
Determine field name to base
expression on and appropriate field
type:
Convert Date Field: Example (cont’d)
MC University
Set Custom Expression control to Yes
and enter expression into Custom
Expression Box:
Convert Date Field: Example (cont’d)
MC University
Result on report will show only the
WO.Requested date (no time):
Convert Date Field: Example (cont’d)
MC University
Now let’s practice creating a test Report
and adding a Custom expression to
show how many days a Work Order has
been open since the Requested Date!
Building Custom Expressions: Hands-On
MC University
Access the Reporter and copy the Open
Work Order List
Enter a unique Report Name
• Example: “Open Work Order List with
Custom Expression – Initials – Date”
Building Custom Expressions: Hands-On (cont’d)
MC University
Run your newly copied Report and
navigate to the Report Setup
Find the [WO] Requested field in the
Available and add it to the Display fields
Building Custom Expressions: Hands-On (cont’d)
MC University
Add [WO] UDF Field 10 as the
placeholder field
Select [WO] UDF Field 10 in the Display
fields list and click Edit
Building Custom Expressions: Hands-On (cont’d)
MC University
Enter Days Open into the Field Label
(Custom) prompt
Select Numeric from the Field Type
(Custom) dropdown
Building Custom Expressions: Hands-On (cont’d)
MC University
Click the Yes control in the Custom
Expression? Field prompt
Enter the following expression:
• DATEDIFF(DAY,WO.REQUESTED,GETDATE())
Building Custom Expressions: Hands-On (cont’d)
MC University
Apply all changes
Report will appear similar to the
following:
Building Custom Expressions: Hands-On (cont’d)
MC University
You have now succesfully completed
creating a test Report and adding a
Custom Expression!
Building Custom Expressions: Hands-On (cont’d)
MC University
Fixed Criteria Overview
Work Order Completion Date Example
Common Fixed Criteria
Fixed Criteria Defined
MC University
Fixed Criteria uses:
• Criteria can be hidden from end users
• Meaningful filters are placed on data
• Complex data relationships can be
specified
Fixed Criteria Overview
MC University
Defined Fixed Criteria appears at top of
Report Criteria Dialog:
Fixed Criteria Overview (cont’d)
MC University
Additional Fixed Criteria added from
Advanced tab of Report Setup
• Added to Where (SQL) field
Fixed Criteria Overview (cont’d)
MC University
Description Expression
On an open work order report, show only
work orders that are overdue.
WO.IsOpen=1 and
WO.TargetDate<Getdate()
On a closed work order report, show only
work orders that took more than 10 days to
complete.
WO.IsOpen=0 and
DATEDIFF(DAY,WO.Requested,WO.
Complete)>10
On a closed work order report, show all work
orders that have no value in the “Problem”
field.
WO.IsOpen=0 and ProblemID is null
On a closed work order labor report, show
only “actual” labor hours (exclude any
estimated labor hours). Actual labor records
are recorded with a WOLabor.RecordType of
“2”.
WO.IsOpen=0 and
WOLabor.RecordType=2
Common Fixed Criteria
MC University
In this example a Closed Work Order
List report is used to show Work Orders
that have taken greater than 10 days to
complete
Work Order Completion Date: Example
MC University
Logical field(s) are added to Display
for clarity of data presented:
Work Order Completion Date: Example (cont’d)
MC University
Expression is entered into the Where
(SQL) field:
Work Order Completion Date: Example (cont’d)
MC University
Requested and Complete fields help
double-check report data once report
is run:
Work Order Completion Date: Example (cont’d)
MC University
Now let’s practice utilizing Fixed Criteria
to create an Open AND Closed Work
Order Report!
Utilizing Fixed Criteria: Hands-On
MC University
Select the Open Work Order List and
copy this base report
Enter a unique Report Name
• Example: “Open AND Closed Work Order
List using Fixed Criteria – Initials – Date”
Utilizing Fixed Criteria: Hands-On (cont’d)
MC University
Navigate to the Report Setup
Select the Advanced tab  SQL
Structure sub-tab
Utilizing Fixed Criteria: Hands-On (cont’d)
MC University
Remove WO.IsOpen=1 from the Where
SQL
Utilizing Fixed Criteria: Hands-On (cont’d)
MC University
Apply changes
Both open and closed Work Orders will
appear on the report:
Utilizing Fixed Criteria: Hands-On (cont’d)
MC University
You have now succesfully completed
creating an Open and Closed Work
Order Report using Fixed Criteria!
Utilizing Fixed Criteria: Hands-On (cont’d)
Thank You for
Watching!

More Related Content

PPTX
R09 - Advanced Reporting: Custom Expressions and Criteria (MCU)
PPTX
R10 - Advanced Reporting Report Setup and Summary Reports (MCU)
PDF
Cuento pictogramas
PPT
Graphs and chars
PPT
Norveški kralji
PDF
Jornal aliança nº 181 novembro 2014
PPTX
MTI App inventor: Conociendo el Entorno
PPTX
R09 | Advanced Reporting - Custom Expressions and Criteria (MCUI)
R09 - Advanced Reporting: Custom Expressions and Criteria (MCU)
R10 - Advanced Reporting Report Setup and Summary Reports (MCU)
Cuento pictogramas
Graphs and chars
Norveški kralji
Jornal aliança nº 181 novembro 2014
MTI App inventor: Conociendo el Entorno
R09 | Advanced Reporting - Custom Expressions and Criteria (MCUI)

Similar to R09 - Advanced Reporting Custom Expressions and Criteria (MCU) (20)

PPTX
W09 - Work Order Management Tools (MCU)
PPTX
R11 - Pivot Reports (MCU)
PPTX
R05 - Intermediate Reporting Report Configuration (MCU)
PPTX
R02 - Basics of Reporting Overview Part 2 (MCU)
PPTX
W09 | Work Order Management Tools (MCUI)
PDF
W09 - Work Order Management Tools
PPTX
R05 - Intermediate Reporting: Report Configuration (MCU)
PPTX
R10 - Advanced Reporting: Report Setup and Summary Reports (MCU)
PPTX
R05 | Intermediate Reporting - Report Configuration (MCI)
PPTX
R06 - Intermediate Reporting Conditional Formatting (MCU)
PDF
R05 - Intermediate Reporting: Report Configuration
PPTX
W06 - Standard / Enhanced Complete Close Setup (MCU)
PPTX
R07 - Intermediate Reporting Smart Reports (MCU)
PPTX
R02 - Basics of Reporting Overview: Part 2 (mcu)
PDF
Les formules et moi, ça fait 3!
PPTX
Report operations - Melanie
PPTX
SA05 - Customizing the User Interface (MCU)
PPTX
R06 - Intermediate Reporting: Conditional Formatting (MCU)
PPTX
SA06 - Human Resource Management (MCU)
PPTX
V7.0-02 - System Administration with MC v7.0 (MCUIE)
W09 - Work Order Management Tools (MCU)
R11 - Pivot Reports (MCU)
R05 - Intermediate Reporting Report Configuration (MCU)
R02 - Basics of Reporting Overview Part 2 (MCU)
W09 | Work Order Management Tools (MCUI)
W09 - Work Order Management Tools
R05 - Intermediate Reporting: Report Configuration (MCU)
R10 - Advanced Reporting: Report Setup and Summary Reports (MCU)
R05 | Intermediate Reporting - Report Configuration (MCI)
R06 - Intermediate Reporting Conditional Formatting (MCU)
R05 - Intermediate Reporting: Report Configuration
W06 - Standard / Enhanced Complete Close Setup (MCU)
R07 - Intermediate Reporting Smart Reports (MCU)
R02 - Basics of Reporting Overview: Part 2 (mcu)
Les formules et moi, ça fait 3!
Report operations - Melanie
SA05 - Customizing the User Interface (MCU)
R06 - Intermediate Reporting: Conditional Formatting (MCU)
SA06 - Human Resource Management (MCU)
V7.0-02 - System Administration with MC v7.0 (MCUIE)
Ad

More from Maintenance Connection (20)

PPTX
Three Easy Ways to Radically Improve Your Manufacturing Asset Management Process
PPTX
3 inventory strategies to maximize your CMMS profitability
PPTX
3 Ways a Mobile CMMS Strategy Can Revolutionize Your Organization
PDF
How Healthcare Maintenance Pros Can Improve Operations with Preventive Mainte...
PDF
Manufacturers: What's next in the ever-evolving industry?
PPTX
W10 | Work Order Preferences (MCUI)
PPTX
W08 | Rules Manager Notifications and Alerts (MCUI)
PPTX
W07 | Tracking Time and Cost on Work Orders (MCUI)
PPTX
SA07 | Rules Manager and Events Notifications (MCUI)
PPTX
SA06 | Human Resource Management (MCUI)
PPTX
SA05 | Customizing the User Interface (MCUI)
PPTX
SA04 | Managing KPI's and Dashboards (MCUI)
PPTX
Sa03 | Overview of Access Groups (MCUI)
PPTX
SA02 | User and Password Management Techniques (MCUI)
PPTX
R11 | Pivot Reports (MCUI)
PPTX
R10 | Advanced Reporting - Report Setup and Summary Reports (MCUI)
PPTX
R08 | Intermediate Reporting - Email Schedule and Reporting (MCUI)
PPTX
R07 | Intermediate Reporting - Smart Reports (MCUI)
PPTX
R06 | Intermediate Reporting - Conditional Formatting (MCUI)
PPTX
V7.0-06 - Asset and PM Management with MC v7.0
Three Easy Ways to Radically Improve Your Manufacturing Asset Management Process
3 inventory strategies to maximize your CMMS profitability
3 Ways a Mobile CMMS Strategy Can Revolutionize Your Organization
How Healthcare Maintenance Pros Can Improve Operations with Preventive Mainte...
Manufacturers: What's next in the ever-evolving industry?
W10 | Work Order Preferences (MCUI)
W08 | Rules Manager Notifications and Alerts (MCUI)
W07 | Tracking Time and Cost on Work Orders (MCUI)
SA07 | Rules Manager and Events Notifications (MCUI)
SA06 | Human Resource Management (MCUI)
SA05 | Customizing the User Interface (MCUI)
SA04 | Managing KPI's and Dashboards (MCUI)
Sa03 | Overview of Access Groups (MCUI)
SA02 | User and Password Management Techniques (MCUI)
R11 | Pivot Reports (MCUI)
R10 | Advanced Reporting - Report Setup and Summary Reports (MCUI)
R08 | Intermediate Reporting - Email Schedule and Reporting (MCUI)
R07 | Intermediate Reporting - Smart Reports (MCUI)
R06 | Intermediate Reporting - Conditional Formatting (MCUI)
V7.0-06 - Asset and PM Management with MC v7.0
Ad

Recently uploaded (20)

PDF
System and Network Administration Chapter 2
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPT
Introduction Database Management System for Course Database
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Transform Your Business with a Software ERP System
PPTX
history of c programming in notes for students .pptx
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
System and Network Administration Chapter 2
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Reimagine Home Health with the Power of Agentic AI​
Wondershare Filmora 15 Crack With Activation Key [2025
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Computer Software and OS of computer science of grade 11.pptx
Understanding Forklifts - TECH EHS Solution
Designing Intelligence for the Shop Floor.pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Introduction Database Management System for Course Database
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Navsoft: AI-Powered Business Solutions & Custom Software Development
Transform Your Business with a Software ERP System
history of c programming in notes for students .pptx
Operating system designcfffgfgggggggvggggggggg
Softaken Excel to vCard Converter Software.pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
How to Migrate SBCGlobal Email to Yahoo Easily

R09 - Advanced Reporting Custom Expressions and Criteria (MCU)

  • 1. MC University R09|Advanced Reporting: Custom Expressions and Criteria
  • 2. MC University Custom Expressions Defined Fixed Criteria Defined Agenda
  • 3. MC University Custom Expressions Overview Calculate Increase in Cost Example Convert Date Field Example Custom Expressions Defined
  • 4. MC University Custom Expressions are used to modify format of a field or perform calculations Examples of Custom Expression uses: • Remove time stamp from a date field • Change display case (e.g. all UPPERCASE) • Calculate elapsed time (e.g. days open or time taken to respond) Custom Expressions Overview
  • 5. MC University Steps to create Custom Expressions: • Determine which field to base expression on • Select field to use as placeholder • Adjust label for Report column • Select Custom Expression? indicator • Create and enter Custom Expression Custom Expressions Overview (cont’d)
  • 6. MC University Custom Expressions are not case sensitive Common Expressions include: • DATEDIFF • GETDATE() • CONVERT Custom Expressions Overview (cont’d)
  • 7. MC University Custom Expression Examples: Custom Expressions Overview (cont’d) Description Expression Upper Case a Field Value UPPER(WO.Reason) Days Work Order Open since Requested Date DATEDIFF(day,WO.Reque sted,GETDATE()) Hours to Issue Work Order DATEDIFF(hour,WO.Reque sted,WO.Issued) Date Returned without Time Stamp LEFT(WO.Requested,12) Adding two field values together (e.g., Work Order Labor Cost + Work Order Parts Cost) WO.CostLaborActual+WO. CostPartActual
  • 8. MC University In this example an Inventory report will use a Custom Expression to calculate the costs of re-ordering with a 10% increase in cost Calculate Increase in Cost: Example
  • 9. MC University Determine field name to base expression on and select placeholder field: Calculate Increase in Cost: Example (cont’d)
  • 10. MC University Enter Custom Label for placeholder field and appropriate Field Type: Calculate Increase in Cost: Example (cont’d)
  • 11. MC University Set Custom Expression control to Yes and enter expression into Custom Expression Box: Calculate Increase in Cost: Example (cont’d)
  • 12. MC University Result on Report will show forecasted price: Calculate Increase in Cost: Example (cont’d)
  • 13. MC University In this example an Open Work Order List report will be used to convert the WO.Requested date and time format to only show the date Convert Date Field: Example
  • 14. MC University Determine field name to base expression on and appropriate field type: Convert Date Field: Example (cont’d)
  • 15. MC University Set Custom Expression control to Yes and enter expression into Custom Expression Box: Convert Date Field: Example (cont’d)
  • 16. MC University Result on report will show only the WO.Requested date (no time): Convert Date Field: Example (cont’d)
  • 17. MC University Now let’s practice creating a test Report and adding a Custom expression to show how many days a Work Order has been open since the Requested Date! Building Custom Expressions: Hands-On
  • 18. MC University Access the Reporter and copy the Open Work Order List Enter a unique Report Name • Example: “Open Work Order List with Custom Expression – Initials – Date” Building Custom Expressions: Hands-On (cont’d)
  • 19. MC University Run your newly copied Report and navigate to the Report Setup Find the [WO] Requested field in the Available and add it to the Display fields Building Custom Expressions: Hands-On (cont’d)
  • 20. MC University Add [WO] UDF Field 10 as the placeholder field Select [WO] UDF Field 10 in the Display fields list and click Edit Building Custom Expressions: Hands-On (cont’d)
  • 21. MC University Enter Days Open into the Field Label (Custom) prompt Select Numeric from the Field Type (Custom) dropdown Building Custom Expressions: Hands-On (cont’d)
  • 22. MC University Click the Yes control in the Custom Expression? Field prompt Enter the following expression: • DATEDIFF(DAY,WO.REQUESTED,GETDATE()) Building Custom Expressions: Hands-On (cont’d)
  • 23. MC University Apply all changes Report will appear similar to the following: Building Custom Expressions: Hands-On (cont’d)
  • 24. MC University You have now succesfully completed creating a test Report and adding a Custom Expression! Building Custom Expressions: Hands-On (cont’d)
  • 25. MC University Fixed Criteria Overview Work Order Completion Date Example Common Fixed Criteria Fixed Criteria Defined
  • 26. MC University Fixed Criteria uses: • Criteria can be hidden from end users • Meaningful filters are placed on data • Complex data relationships can be specified Fixed Criteria Overview
  • 27. MC University Defined Fixed Criteria appears at top of Report Criteria Dialog: Fixed Criteria Overview (cont’d)
  • 28. MC University Additional Fixed Criteria added from Advanced tab of Report Setup • Added to Where (SQL) field Fixed Criteria Overview (cont’d)
  • 29. MC University Description Expression On an open work order report, show only work orders that are overdue. WO.IsOpen=1 and WO.TargetDate<Getdate() On a closed work order report, show only work orders that took more than 10 days to complete. WO.IsOpen=0 and DATEDIFF(DAY,WO.Requested,WO. Complete)>10 On a closed work order report, show all work orders that have no value in the “Problem” field. WO.IsOpen=0 and ProblemID is null On a closed work order labor report, show only “actual” labor hours (exclude any estimated labor hours). Actual labor records are recorded with a WOLabor.RecordType of “2”. WO.IsOpen=0 and WOLabor.RecordType=2 Common Fixed Criteria
  • 30. MC University In this example a Closed Work Order List report is used to show Work Orders that have taken greater than 10 days to complete Work Order Completion Date: Example
  • 31. MC University Logical field(s) are added to Display for clarity of data presented: Work Order Completion Date: Example (cont’d)
  • 32. MC University Expression is entered into the Where (SQL) field: Work Order Completion Date: Example (cont’d)
  • 33. MC University Requested and Complete fields help double-check report data once report is run: Work Order Completion Date: Example (cont’d)
  • 34. MC University Now let’s practice utilizing Fixed Criteria to create an Open AND Closed Work Order Report! Utilizing Fixed Criteria: Hands-On
  • 35. MC University Select the Open Work Order List and copy this base report Enter a unique Report Name • Example: “Open AND Closed Work Order List using Fixed Criteria – Initials – Date” Utilizing Fixed Criteria: Hands-On (cont’d)
  • 36. MC University Navigate to the Report Setup Select the Advanced tab  SQL Structure sub-tab Utilizing Fixed Criteria: Hands-On (cont’d)
  • 37. MC University Remove WO.IsOpen=1 from the Where SQL Utilizing Fixed Criteria: Hands-On (cont’d)
  • 38. MC University Apply changes Both open and closed Work Orders will appear on the report: Utilizing Fixed Criteria: Hands-On (cont’d)
  • 39. MC University You have now succesfully completed creating an Open and Closed Work Order Report using Fixed Criteria! Utilizing Fixed Criteria: Hands-On (cont’d)