Toggle navigation
Home
▼ Details
Products and pricing
Chart gallery
User stories
Text analytics
CDC NAMCS Library
Blog
Tutorials
Contact
Sign in
Post Editor
← All help posts
View post
Save
## <img src="/uploads/upload/image/5200/direct/1595434951406-1595434951406.png" alt="Conceptual diagram showing a hexagonal grid pattern representing data filtering. The grid contains hexagons in different colors: light gray hexagons on the left representing all respondents, olive green hexagons in the middle representing a filtered subset, and light blue hexagons on the right representing a further filtered subset. Each hexagon contains a small blue-gray dot representing an individual data point." style="width: 432px;" class="fr-fic fr-dib"> Global scenarios allow you to limit the entire project in order to consider a particular subset of respondents. Global scenarios limit all analysis including current and baseline filters. For instance, a project may define two scenarios, "Completes only" and "All respondents." This allows the analyst to focus on completes most of the time, and occasionally look at all respondents. You can use the "Global" filter button to limit such selections. Once a global filter is set, it is applied first to filter the respondents to only those who fit the criteria, before current filter, baseline filter, and element specific filter is applied. <img src="/uploads/upload/image/5200/direct/1565844253239-1565844253239.png" alt="Protobi toolbar section showing the Global filter button interface. The dark blue "Global" button is displayed on the left, followed by a sample size indicator showing "N=100" in a white box with black border. Two light blue action buttons labeled "Clear" and "Set b" appear to the right. Below the toolbar is a dropdown menu showing "(all respondents)" as the current selection and "Completed" as an available filter option, with an X close button on the right." style="width: 240px;" class="fr-fic fr-dib"> ## Creating global filters First, add the element $global anywhere within the project (e.g. use "+" to add a new tab) and then refresh the project <img src="/uploads/upload/image/5200/direct/1596513883888-1596513883887.png" alt="Browser dialog box from demo.protobi.com prompting to create a new tab. The dialog shows "Enter new tab name" as the label, with "$global" entered in a blue-bordered text input field. Two buttons appear at the bottom: a gray "Cancel" button on the left and a blue "OK" button on the right. In the background, partial interface elements are visible including tab labels "Q1-Q3", "X", "tab", and a "+" button." style="width: 720px;" class="fr-fic fr-dib"> You can now add the current filter to the list of global filters by selecting "Set current filters as new scenario." <img src="/uploads/upload/image/5200/direct/1565845210148-1565845210148.png" alt="Protobi Global filter dropdown menu showing the interface for creating new global filter scenarios. The dark blue "Global" button at top shows a tooltip explaining its purpose. The menu displays "(all respondents)" as the default option, "Completed" as an existing filter scenario, and "Set current filters as new scenario" in italics as an action option to create new scenarios." style="width: 240px;" class="fr-fic fr-dib"> Note that only those filters selected as current filters will be added to your new global filter option. If a different global filter is currently in place, those filters will not be part of the new global filter. Unlike "[Scenarios](/view-access/scenarios "Go to \"Scenarios\" tutorial")," global filters cannot be removed by pressing ESC or the "Clear" button on the toolbar. To change the global filters, you will need to press the "Global" button on the toolbar and choose a different filter. ## Global vs Scenarios Global filters limit all analysis including current and baseline filters, whereas adding a scenario is the same as pressing on values to filter and does not affect the baseline scenario. For instance, the Global button may select for "Completes only", and the Scenario button may select for "Early adopters." In this case, both current and baseline scenarios would consider only completes, and the current scenario would be further limited to just "Early adopters." ## Using global filters as a crosstab Global filters are stored in a special element with key **$global**. You can show this to your project by pressing the "+" to create a new tab and entering the title "$global". You can then use this like any other element in your data. You can even edit the "$global" element. If you open the element definition in "Edit JSON...," the scenarios are defined under the "recode" attribute in MongoDB syntax.
Publishing
Date
Status
Published
Draft
Slug
edit
Content
Thumbnail
Categories
Manage
New to Protobi?
Charts
Making Changes
Intermediate topics for editors
Frequently Asked Questions
SERMO Topics
Tutorial Pages
Internal Docs
Data Processing
Videos
Obsolete
GSG Admin
SERMO Admin
GSG Topics
How to...
Basics for viewers
Basics for editors
For project admins
Advanced topics
Assessments
Articles (in-progress)
New and updated articles
Process data in Protobi
superseded
Text open-end questions
Troubleshooting
Tracking studies
Organizing the view
API References
Tools
AI Database
Checking AI...
Convert to MD
Danger zone
Delete