Inforiver
Super Filter
Super Filter
  • Introduction to Inforiver Super Filter
    • Getting Started
      • Installing from AppSource
      • Quick Mode
  • Filter Types
    • 1. Date Filter
      • Date Slider
        • Date Format
        • Max Default Date
      • Calendar Modes
        • Year | Multi Year
        • Month Range
          • Single Date Range
          • Multiple Date Range
          • Predefined Date Range
        • Month
          • Month Calendar Options
        • Week
        • Day
      • Relative Date
      • Dynamic Date Presets
      • Variance
      • Calendar Heatmap
        • Annual Calendar Heatmap
      • Format Pane Settings
        • Week Mode & Calculation
        • Default Selection
        • Initial Start Date & Start day of Week
        • Single Select
        • Days Off
        • Fiscal Month Support
        • Measure Values & Sum Time Period Values
        • Calendar Control
        • Holidays
        • Invalid Dates
        • Month Total Bar
        • Background Color & Opacity Control
      • Calendar Formatting Options
    • 2. Facet Filter
      • Configuring Facet Filter
        • View Type
        • Features
        • Category Style
      • Enhanced Features in Facet Filter
        • Image Filter
        • Text Area (AND/OR Support)
        • Edit Data
        • Date in List View
        • Hierarchical data Support
    • 3. Hierarchy Filter
    • 4. Measure Filter
    • 5. Numeric Filter
    • 6. Alpha Numeric Filter
    • 7. Tree Map Filter
    • 8. Play Axis
      • Multilevel Selection
  • Features
    • 1. Saved Filter
    • 2. Search
      • Wildcard Search
      • Operator based Measure Filter search
      • Focused Text Filter
      • Auto Complete
    • 3. Mass Filter
    • 4. Pop-Up Mode
    • 5. Presets
      • Conditional Formatting Presets
      • Saved Filter Presets
      • Measure Based Presets
      • Rank Based Presets
      • Customization Options
      • Formatting Options
    • 6. Conditional Formatting
    • 7. Sorting and Ranking
    • 8. Variance
    • 10. Number Formatting
    • 11. Display Settings
      • Show Details
      • Default Selection via Boolean Measure
      • Opacity Control
      • Forced Selection
      • Other Options
      • Tooltips
      • Localize Keywords
      • Hover & Selected State
    • 12. Tool Bar
    • 13. Context Awareness
  • Tips & Tricks
    • 1. Sync Slicer
    • 2. Report Page Tooltip
    • 3. Field Parameters
    • 4. Calculation Group
    • 5. Dynamic Format string measure
    • 6. Bookmark
    • 7. Edit Interactions
  • FAQs
  • Release Notes
    • Super Filter v5.5.0.0
    • Super Filter v5.4.0.0
    • Super Filter v5.2.0.0
    • Super Filter v5.1.0.0
    • Super Filter v5.0.0.0
    • Super Filter v4.5.0.0
    • Super Filter v4.0.0.0
    • Super Filter v3.0.0.0
    • Super Filter v2.0.0.0
    • Super Filter v1.0.0.0
Powered by GitBook
On this page
  • How to use Alpha Numeric Filter
  • Format Pane Settings
  • Alpha Numeric Regex
  1. Filter Types

6. Alpha Numeric Filter

Previous5. Numeric FilterNext7. Tree Map Filter

Last updated 23 days ago

The Alpha-Numeric Filter feature enables users to include and filter data containing both letters and numbers. This provides a flexible way to refine data selections based on alpha-numeric fields.

How to use Alpha Numeric Filter

  1. To enable alpha -numeric filter add an alpha-numeric field to the Category Field.

  2. If an alpha-numeric field is the only category added, the filter appears as a slider in the visual.

  3. If combined with other categories, it displays as a dropdown list in the Facet Filter View.

  4. To enable or disable the alpha-numeric filter slider, navigate to the Format Pane, in the Alpha-Numeric Filter section use the toggle option to switch the slider view on or off.

Alpha Numeric Filter as slider cannot be combined with other filter types. If multiple columns are added, the visual will automatically switch to Facet Filter mode.

Format Pane Settings

Configure General section under alpha numeric filter settings with the following options:

  1. Range:

    • Between: Filter data within a specified range.

    • Less than or equal to: Include values below or equal to the selected value.

    • More than or equal to: Include values above or equal to the selected value.

  2. Step: Use the Step option to set increments size for the slider that make sense for your data.

  3. Label: Use the toggle button to enable or disable the visibility of the Alpha numeric category label in the visual.

  4. Category Label: Enable this option to display the selected range of alphanumeric IDs in the header.

Configure Slider Style section under alpha numeric filter settings with the following options:

  1. Fixed Label: When enabled, displays a fixed label for typing the start and end range.

  2. Slider Color: Choose the color of the selected range in slider.

  3. Border Color: Select the color for the unselected portion of the slider range.

  4. Background Color: Adjust the background color behind the slider.

  5. Drag Handle Color: Select the color of the slider handle used to adjust values.

  6. Font Color and Font Style Settings: Modify the font color and style to Italics, Bold and Underline

  7. Font Size: Customize the font size of values shown in the alpha numeric filter.

At the bottom left of the tile, you’ll find the Reset to Default option. Click this to revert all Alpha Numeric Filter settings to their original configuration.

Alpha Numeric Regex

For users who need to handle complex alpha-numeric patterns and extract specific sets of numbers, a custom regex can be defined. This is useful when dealing with structured alpha-numeric formats where only certain numbers should be considered.

Steps to Configure Alpha Numeric Regex:

  1. Navigate to the Display Settings option in the format pane

  2. Locate the Alpha Numeric Regex text box

  3. Enter the custom regex pattern

Here, we explore alphanumeric patterns with examples:

1. Default Numeric Extraction with \d

By default, the \d token is used in regular expressions to extract all numbers from alphanumeric data. The \d operation captures individual digits that are not in a continuous sequence. This means that numbers appearing as isolated or broken segments, rather than as part of a long continuous sequence, will be extracted separately.

2. Extracting the First Two Numbers with Regex

To extract the first two numbers from an alphanumeric string using regular expressions, you can use the following pattern:

^\d{2}

This pattern matches the first two digits at the beginning of the string:

  • ^ asserts the position at the start of the string.

  • \d matches any digit (0-9).

  • {2} specifies exactly two occurrences of the preceding digit.

3. Extracting the Last Digit or Last Two Digits with Regex

  • To extract the last digit from an alphanumeric string using regular expressions, use the following pattern:

    \d$
    • \d matches any digit (0-9).

    • $ asserts the position at the end of the string.

  • To extract the last two digits from an alphanumeric string, use the following pattern:

    \d{2}$
    • \d{2} matches exactly two digits.

    • $ asserts the position at the end of the string.

4. Extracting the Two Middle Numbers with Regex

To extract the two middle numbers from an alphanumeric string, such as "34AWE27S4D7", you can use the following regex pattern (assuming a fixed-length string):

(?<=^.{6})\d{2}

Explanation:

  • ^ asserts the position at the start of the string.

  • .{6} matches any 6 characters from the beginning.

  • (?<=...) is a positive lookbehind that ensures the match is preceded by exactly 6 characters.

  • \d{2} captures exactly two digits after the first 5 characters.

Note: In the provided string "34AWE27S4D7", the two middle numbers are 27, which appear at the 6th and 7th positions.

Image 1: Alpha Numeric Filter as slider
Image 2: Alpha numeric slider when show fixed label is enabled.
Image 3: Alpha numeric filter settings in Format pane
Image 4: Alpha Numeric Regex
Image 5: Default Numeric Extraction with \d
Image 6: Extracting the First Two Numbers with Regex
Image 7: Extracting the Last Digit
Image 8: Extracting the Two Middle Numbers with Regex