Facets & Interactions Flashcards

1
Q

Interaction Types

A

There are 2 types: results interaction and selection interaction

Interaction was formerly called binding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Create Interactions with Clicks

A

Interactions are the most powerful way to specify relationships between different queries on your dashboard

Creating the right syntax for an interaction can be complex

With the Advanced Interaction Editor, you can create, edit, and preview your interactions with clicks

Each interaction must be in the right place in the JSON or SAQL for an individual widget or query

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Cross-Dataset Faceting with Connected Data Sources

A

To facet queries from different datasets, you need to connect them using common fields

Faceting only works on the fields used to define the connection

By default, queries from the same dataset are faceted, automatically filtering each other

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Create an Interaction

A
  • Click Advanced Editor in the widget properties panel
  • Click Select a query and select the one you want
  • Click Select data…
    - Select Row, Column, or Cell
    - Select the desired options
    - Use Preview to see details without leaving the Editor
  • Select the interaction type (Result is the default)
  • Click More Options to set a default value or change the data serialization function
  • Copy your interaction
  • Paste it into the JSON or SAQL
  • Click Save
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How Bindings are Different from Facets

A
  • More programmatic and provide more ways to specify interactions
  • Can dynamically modify a query, set an initial filter selection, or change a widget’s appearance
  • Each is unidirectional – it affects other queries, but other queries don’t affect it

Ex: You can change the measure in a query based on a selection in a custom query

Ex: You can change the color of the metric in a number widget based on whether its value is high, medium, or low

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Result Interaction

A

Update a query based on the RESULTS of another query

Default interaction type when using the Advanced Editor

Typically used to…

  • Define intermediate results for a complex calculation
  • Set an initial filter selection for a dashboard based on a characteristic of the logged-in user
  • Dynamically change the display of a widget based on the results of a query
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Selection Interaction

A

Update a query based on the SELECTION in another query

Evaluated each time the user selects something in a widget

Use a selection interaction to…

  • specify interactions b/w widgets from different datasets
  • specify the measures, groupings, and other aspects of a query
  • set widget display properties for some widget types
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Configure Cross-Dataset Faceting

A
  • In dashboard edit mode, click “…” and click Connect Data Sources
  • Click New Connection and enter a name for the connection
  • Click Choose Data Source 1 to select the first data source
  • Choose one field from the data source
  • Click Choose Data Source 2 to select the second source, then choose a field
  • To add another data source, click Add Data Source; this option is only visible after you connect 2 data sources
  • Click Save
How well did you know this?
1
Not at all
2
3
4
5
Perfectly