Zu Hauptinhalt springen Zu ergänzendem Inhalt springen

Building logical models for Insight Advisor with Business logic

Insight Advisor uses a logical model based on learned precedents to generate analyses based on your queries. You can define your own logical model for your apps with Business logic.

Insight Advisor relies on the Qlik Cognitive Engine and learned precedents to understand the relationships and uses of fields in your data model. Optionally, you can customize the logical model to improve Insight Advisor results. You can customize your logical model in Logical model under Business logic in the Prepare tab.

Informationshinweis

When business logic is enabled in an app, precedent-based learning is disabled for the app.

Understanding logical models

Das logische Modell einer App ist das konzeptuelle Modell, das Insight Advisor bei der Erzeugung von Visualisierungen verwendet. Es wird aufbauend auf dem zugrunde liegenden Datenmodell einer App erstellt. Jede App hat nur ein logisches Modell. Kernkomponenten des logischen Modells sind Felder und Master-Elemente. Sie sind in Gruppen organisiert. Gruppen geben eine konzeptuelle Zuordnung oder Beziehung zwischen Feldern und Master-Elementen an. Das logische Modell enthält auch Informationen über mögliche Beziehungen zwischen Gruppen.

Das logische Modell hat direkten Einfluss darauf, wie Insight Advisor funktioniert. Wenn beispielsweise ein Benutzer ein Feld auswählt, um eine Trendanalyse anzuzeigen, versucht Insight Advisor, ein Datumsfeld zu finden, das Teil einer primären Kalendergruppe ist. Wenn das Feld Umsatzwert war, würde Insight Advisor ein Feld wie Bestelldatum vor dem Feld Geburtsdatum Mitarbeiter priorisieren.

Business logic also affects how the system chooses between fields in natural language questions. For example, the fields Product Name and Product Code are grouped as a single group. If 'what are sales by product' is used as a natural language question, Product Name would be used for 'product' as it is a better choice for that group.

The default logical model used for business logic is a star schema. Business logic enables you to construct different modeling for your app if a star schema is not optimal. Business logic can also help constrain aggregation in logical models containing semi-additive measures or very large measure tables. This improves the exploration of app data in Insight Advisor.

Customizing logical models

Logical model is divided into the following sections for customizing the logical model of an app:

  • Overview: Overview provides a summary of your business logic. Clicking the cards for Fields & groups, Packages, Hierarchies, or Behaviors opens the corresponding section.
  • Fields & groupsFields & groups enables you to define the groups to which your fields and master items belong in the logical model.
  • PackagesPackages enables you to create collections of related groups. This prevents groups from being used together that are not in the same package.
  • Hierarchies: Hierarchies enables you to define drill-down relationships between groups.
  • Behaviors: Behaviors enables you to specify prefer or deny relationships between fields. Behaviors can also enforce required selections.
  • Calendar periods: Calendar periods enables you to create default periods of analysis for Insight Advisor.

To customize a logical model, do the following:

  1. Enable the customization of the business logic of your app.
  2. Define your fields and groups.

    Definieren von Feldern und Gruppen

  3. Optionally, add your groups to packages.

    Festlegen des Geltungsbereichs eines logischen Modells mit Paketen

  4. Optionally, define hierarchies between groups

    Erstellen einer Drilldown-Analyse mit Hierarchien

  5. Optionally, apply behaviors.

    Anwenden von Verhaltensweisen auf logische Modelle

  6. Optionally, create calendar periods.

    Definieren von Analysezeiträumen mit Kalenderzeiträumen

You can reset your logical model to the default. You can also disable business logic temporarily.

Enabling custom business logic

  1. In an app, click Prepare and select Logical model.
  2. Click Continue.

Custom business logic is now enabled for your app. Precedent-based learning is now disabled.

InformationshinweisWhen you activate a custom logical model, recommendations for field visibility and data value search are automatically applied. This means that certain fields in your data model might not be visible or searchable in Insight Advisor. You can reconfigure the logical model to revert these recommendations, or apply other customizations. See Sichtbarkeit and Datenwert-Lookup.

Resetting business logic

You can reset your logical model to the default model. Resetting disables custom business logic and enables precedent-based learning in Insight Advisor.

  1. In Logical model, click Reset to default.
  2. Click Confirm.

Disabling business logic

You can disable custom logical models. Unlike resetting business logic, you can enable your custom business logic again later. While your business logic is disabled, it will use the default business logic for your app.

  1. In Logical model, click Disable logic.
  2. Click Confirm.

Weitere Informationen

Hat diese Seite Ihnen geholfen?

Wenn Sie Probleme mit dieser Seite oder ihren Inhalten feststellen – einen Tippfehler, einen fehlenden Schritt oder einen technischen Fehler –, teilen Sie uns bitte mit, wie wir uns verbessern können!