Skip to main content
waffle.svg
Domo Knowledge Base

Changing the Default Sentiment for Insights

Version 4

 

The Insights subtab, located in the KPI Card Details view, provides an analysis of the elements of the Card, automatically generated by "Mr. Roboto," Domo's native Natural Language Generation tool. By default, Mr. Roboto assumes that increasing values are positive and decreasing values are negative and may use such language in describing change. For example, it may say something like "Good news, your Sales Revenue has gone up in the last month." This makes sense because an increase in sales revenue is seen as positive for a company. However, what if your Card measures success by decreasing rather than increasing values? For example, if your Card shows the number of injuries received by soccer players in the last year, it would be strange to receive a message reading, "Good news, your Soccer Injuries have gone up in the last year."

Luckily there is a way to get around this and ensure that positive change is associated with negative sentiment, and vice-versa. You must do this on the DataSet level, by adding a specific tag to the column you want to have positive or negative sentiment. The tags are...

  • upsentiment:good if positive change for this column is to be associated with positive sentiment

  • upsentiment:bad if positive change for this column is to be associated with negative sentiment

So for our soccer injuries example, you could change the default sentiment by going into the details view for the DataSet powering the card and adding the tag upsentiment:bad to the column containing the number of injuries received. 

To change the default sentiment for Insights,

  1. Open the Data Center.

  2. Locate the DataSet powering the Card you want to change the default sentiment for.

  3. Click on the Data tab.

    data_tab_location.png

  4. Click on the Schema subtab.

    schema_subtab_location.png

  5. Locate the column you want to update.

  6. Click Add tag.

  7. (Conditional) Add upsentiment:good as a tag if positive change for this column is associated with positive sentiment. Or add upsentiment:bad if positive change is associated with negative sentiment.