Properties - Analytic Search
In Vizlib Custom Report, it is now possible to use a search bar instead of/or in combination with the left-hand menu of dimensions, measures, and other settings.
This topic contains the following sections:
Analytic Search
Analytic Search settings are found in the Settings section of the property panel (Figure 1).
Figure 1: Analytic Search Settings
Basic settings for analytic search are also located in this section.
When Auto-complete Search is On (Figure 2), Custom Report will automatically interpret the text input without waiting for the users to press Enter. Delay is the time between the last keyboard input and the evaluation of the text. By default, Auto-complete is set to Off.
Figure 2: Auto-complete Search
The View layout (Figure 3.1) option defines how the Search bar behaves with your field selections. By default, the View layout is on a Single row (Figure 3.2) which means you will scroll to view all the fields you currently have selected.
Figure 3.1: View layout - Single Row
Figure 3.2: Search bar displaying a scrollbar
Changing this to Multiple rows (Figure 4.1) presents additional options that control how you interact with the Search bar. The default options define the View display mode to Collapsed, which means to view all the fields you have to hover over the Search bar to view them (Figure 4.2).
To change the number of rows to display, change the number in the View row count input box (Figure 4.5).
Figure 4.1: View layout - Multiple Row & View display mode - Collapsed
Figure 4.2: Search bar expands when hovered over
When the View display mode is set to Expanded (Figure 4.3) the Search bar is expanded. To change the number of rows to display, change the number in the View row count input box (Figure 4.5).
This permanently displays your fields across the number of rows you specified.
Figure 4.3: View layout - Multiple Row & View display mode - Expanded
Figure 4.4: Search bar expanded
Figure 4.5: View row count
If the number of fields selected exceeds the View row count, then a vertical scroll bar is displays (Figure 4.6), which is either present or activated when you hover over the element; this depends on your View display mode setting.
Figure 4.6: Vertical scrolling
When Automatic chart selection is On (Figure 5), a visualization will be displayed according to default requirements for the object type (see full details here). Otherwise, a message will be displayed to Choose a visualization.
Figure 5: Automatic chart selection
Note: The suggestion function for Dimensions, Measures and Visualizations is always on and the text automatically evaluates regardless of the auto-complete setting (Figure 6).
Figure 6: Suggestion
Settings for the color and visual design of the Search bar is set in the Appearance, where Analytic Search has a separate section (Figure 7).
Figure 7: Analytic Search Color Settings
Selecting Visualizations
Visualizations can be selected by simply typing the name of the visualization in the Search bar. Once there, the visualization can also be switched using the pop-up menu (Figure 8).
Figure 8: Selecting Visualizations
Filtering
All Dimensions used can be filtered just like any Dimension in Qlik (Figure 9). Use the pop-up and select the filter icon. Make selections like any normal Qlik filter and don't forget you can also use features like search, select all and select possible inside the filter selection.
Figure 9: Filtering
Disable Measures and Dimensions
When a Measure or Dimension does not fit within the restrictions of a chosen visualization, it will be automatically disabled. To enable it, use the toggle-button (Figure 10).
Figure 10: Enable Measure
Note: The Dimension and Measure sort bar will be hidden if you choose to Hide Analytic Search (Figure 11).
Figure 11: Hide Sort Bar
Voice Search (Speech-to-text)
To use the voice search function (Google Chrome Only), press the microphone button and speak clearly (Figure 12) or press CTRL+M to start the recording.
Figure 12: Voice Search
Whenever you stop speaking the speech will be written as text in the search bar and any recognized Dimensions, Measures and Visualization names will be picked up. If no voice is detected, the previous search will be left as is. Like written text, it will not always require an exact match and anything recognized can be changed manually after the result is displayed.
To add more, it is possible to click the microphone again and clear the selection with the x to start over.
Note: For the best result, always use a headset or high quality microphone. Pronounce clearly and speak slightly slower than usual to get the best result. There are more tips in the Limitations for Analytic Search in our Best Practice article.
Tips and Tricks
Hide the left hand menu (Figure 13). Use this setting in the property panel:
Figure 13: Hide Left Hand Menu
Hide the visualization icons or turn them into a drop-down (Figure 14).
Figure 14: Visualization Switch
In a combo-chart, use the icon on a measure to change the visual representation between bar, line and icon and select which axis it should use (Figure 15).
Figure 15: Combo Chart
You can make a partial selection by entering text for a search and selecting the result using the ↵ button. A warning icon will be displayed (Figure 16 uses Country as an example), which clears when you confirm the selection by clicking on the list item.
Figure 16: Partial Selection