Knowledgebase articles
- Welcome to the Knowledge Base
- Introduction
- Getting Started
- Preferences
- Activities
- Cases
- Introduction to Cases
- Displaying & Adding Cases
- Managing Cases
- Using the Case Portal
- Email
- Importing Data
- Leads
- Marketing
- Introduction to Marketing
- Event Management
- Compliance Records
- Spotler Integration
- What is Spotler?
- Navigating your Spotler homepage
- Introduction to GatorMail
- GatorMail Configuration
- Sending Emails in GatorMail
- Advanced Features
- Setting up the Plugin
- Viewing Web Insights Data on your Form Layouts
- Domain Names and Online Activities
- Reporting incorrect Leads created through Web Insights
- Reporting on Web Insights data
- Using UTM Values
- Why aren’t Online Activities being created in the database?
- Why is GatorLeads recording online activities in a foreign language?
- GatorSurvey
- GatorPopup
- Integrations
- SFTP/FTP Processes
- Mapping
- DocuSign Functionality
- DocuSign – Worked Examples
- Adobe Sign Integration
- Zapier
- Introduction to Zapier
- Available Triggers and Actions
- Linking your Workbooks Account to Zapier
- Posted Invoices to Xero Invoices
- Xero payments to Workbooks Tasks
- New Case to Google Drive folder
- New Case to Basecamp Project
- New Workbooks Case to JIRA Ticket
- Jira Issue to new Case
- 123FormBuilder Form Entry to Case
- Eventbrite Attendee to Sales Lead and Task
- Facebook Ad Leads to Sales Leads
- Wufoo Form Entry to Sales Lead
- Posted Credit Note to Task
- Survey Monkey responses to Tasks
- Multistep Zaps
- Email Integrations
- Microsoft Office
- Auditing
- Comments
- People & Organisations
- Introduction to People & Organisations
- Using Postcode Lookup
- Data Enrichment
- Reporting
- Transaction Documents
- Displaying & Adding Transaction Documents
- Copying Transaction Documents
- Transaction Documents Fields Help
- Transaction Documents Line Items Help
- Printing & Sending Transaction Documents
- Managing Transaction Document Currencies
- Managing Transaction Document Statuses
- Setting a Blank Default Currency on Transaction Documents
- Credit Notes
- Customer Orders
- Invoices
- Quotations
- Supplier Orders
- Sagelink
- Configuration
- Contact Support
- Releases & Roadmap
‘Match Any’ Criteria in a report
When filtering on a landing page in Workbooks, it is possible to choose between ‘Match all’ and ‘Match any’. However, it is not possible to do this when adding a criteria to a report.
If you ever find that you want to only show the rows in a report that match either condition 1 or condition 2, here is what to do:
Step 1: Create a Calculated Column
You will need to created a Calculated Column. The formula for this column will be an IF statement, with a nested OR:
IF( condition1 OR condition2, 1, 0 )
This would output a ‘1’ is either condition1 or condition2 are met, or both, and will output a ‘0’ if not.
This formula can be amended to contain more than 2 conditions, or to contain AND statements, for example:
IF( (condition1 AND condition2) OR (condition3 AND condition4), 1, 0 )
IF( (condition1 OR condition2) AND (condition3 OR condition4), 1, 0 )
IF( condition1 OR condition2 OR (condition3 AND condition4), 1, 0 )
You can also amend this according to your report needs, for example:
IF( document_date = CURDATE() OR assigned_to = ‘John Smith’, ‘match’, ‘no match’ )
would output ‘match’ if the Document Date of a Transaction Document is today and/or it is assigned to John Smith.
Step 2: Add Calculated Criteria
Once you are sure that this formula is outputting the correct value for each row, you can then add a Calculated Criteria, to restrict the report to only the rows that output the value you want. If we only wanted the Transaction Documents with a Document Date of today or those assigned to John Smith, then we would set the criteria to
calculated column = match
Of course we can do this the other way around; if we don’t want to see those with a Document Date of today or those assigned to John Smith, we can choose
calculated column = no match