Short answer: the key influencers visual runs a statistical analysis on your model to answer "what makes this metric go up, down, or take this value?". Put the metric in Analyze, the possible factors in Explain by, and for a measure, the level to analyse at in Expand by. The Key influencers tab ranks single factors ("customers in the Publisher role are 2.57 times more likely to give a low rating"); the Top segments tab finds combinations of factors where the metric is especially high or low.
"Why are ratings low?" usually leads to a few charts chosen by hunch. Key influencers tests every factor you give it, ranks them, and says how strong each effect is, so the hunch is checked before anyone acts on it.
What does the result look like?
Microsoft's example reads: 14.93% of publishers give a low score; all other roles give one 5.78% of the time; so publishers are 2.57 times more likely to give a low score (14.93 / 5.78). In the visual, the green bar is the factor's rate and the red dotted line is the average of all others.
How do you set it up?
- In Visualizations pick Key influencers.
- Drag the metric to Analyze. A categorical field (Rating: High or Low, Churned: Yes or No) asks "what makes it this value?"; a numeric field or measure asks "what makes it go up or down?".
- Drag candidate factors to Explain by: as many as make sense (role, country, subscription type, company size, theme, ticket count).
- For a categorical metric, pick the value at the top of the visual ("What influences Rating to be Low").
- Leave Expand by empty unless Analyze holds a measure or a summarised column (see below).
The analysis runs at the table level of the field in Analyze: for a rating per customer, each customer is one observation, and measures in Explain by are evaluated per customer.
Categorical or continuous?
| Analyze holds | Analysis | The question |
|---|---|---|
| a categorical field | categorical (logistic regression) | what makes it this value? |
| an unsummarised numeric field | your choice in Format visual: categorical or continuous | what makes it high or low / increase or decrease? |
| a measure or summarised column | continuous (linear regression), cannot change | what makes it increase or decrease? |
For a measure, the visual needs to know the level of detail: it evaluates the measure at the level of the Explain by fields, which can be too coarse to learn from. Expand by sets the level: put the house ID or customer ID there, and the measure is evaluated per house or customer.
Continuous factors (age, price, ticket count) are reported as "for every 1 more ticket, a low rating is 4.08% more likely" when the relationship is linear enough; if it is not, the visual bins them into ranges and treats them as categories.
What does Top segments add?
Single factors miss combinations. Top segments finds groups defined by several factors at once, for example "Role is Consumer and Theme is Dark and tickets more than 3", with the share of low ratings in each segment and how many customers it covers. A segment with a very high rate but 12 customers matters less than one with a slightly lower rate and 1,400.
What DAX goes with it?
A clean categorical target often beats a raw number:
-- calculated column on Customer
Rating Band =
IF ( Customer[Rating] <= 2, "Low", "High" )
-- measure as an explanatory factor, evaluated per customer
Support Tickets = COUNTROWS ( Tickets )With Rating Band in Analyze and Support Tickets in Explain by, the visual tests whether more tickets make a low rating more likely.
What goes wrong?
- Influence read as cause. The visual finds association. Publishers might rate low because of a feature they use, not because they are publishers.
- Factors that are the target in disguise. "Cancellation reason" explains churn perfectly and teaches nothing; leave out fields that only exist because of the outcome.
- Too little data. With few rows per value, nothing is significant and the visual shows few or no influencers.
- A measure at the wrong level. Without Expand by, a measure is analysed at a very summarised level and finds little.
- Too many Explain by fields with many values. Hundreds of products as a factor dilute the analysis; group them first.
Where can you check this?
Where do you start?
Make the outcome a clear category (low or high, churned or not), give the visual five to ten factors that exist before the outcome, and check the top influencer with a plain chart before acting. The decomposition tree shows where a metric is highest; key influencers suggests why.