Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,000 --> 00:00:01,000
Speaker: The first AI feature
2
00:00:01,000 --> 00:00:02,000
that we're gonna dig into
3
00:00:02,000 --> 00:00:04,000
is something called Anomaly Detection
4
00:00:04,000 --> 00:00:06,000
which is used to automatically detect
5
00:00:06,000 --> 00:00:09,000
and explain anomalies in time series data.
6
00:00:09,000 --> 00:00:12,000
So this can be applied to line charts in Power BI.
7
00:00:12,000 --> 00:00:15,000
And the way it works is that this feature will add flags
8
00:00:15,000 --> 00:00:18,000
to existing line charts when its spots anomalies
9
00:00:18,000 --> 00:00:22,000
and it will also produce AI generated explanations
10
00:00:22,000 --> 00:00:24,000
and summaries to help you understand
11
00:00:24,000 --> 00:00:27,000
what may have driven the anomaly.
12
00:00:27,000 --> 00:00:28,000
Now, before we jump into our demo
13
00:00:28,000 --> 00:00:30,000
we want to talk about a few limitations
14
00:00:30,000 --> 00:00:32,000
of anomaly detection.
15
00:00:32,000 --> 00:00:34,000
For one, it's currently only supported
16
00:00:34,000 --> 00:00:38,000
for line charts with time series fields on the X axis.
17
00:00:38,000 --> 00:00:40,000
It doesn't support charts with legends,
18
00:00:40,000 --> 00:00:43,000
multiple values or secondary axes.
19
00:00:43,000 --> 00:00:45,000
It can't be applied with other types
20
00:00:45,000 --> 00:00:48,000
of visual features like forecasts.
21
00:00:48,000 --> 00:00:49,000
It's not compatible with drill up
22
00:00:49,000 --> 00:00:51,000
or drill down functionality.
23
00:00:51,000 --> 00:00:54,000
And you need at least four data points in your time series
24
00:00:54,000 --> 00:00:56,000
in order for this to be available.
25
00:00:56,000 --> 00:00:57,000
So with that, let's jump back
26
00:00:57,000 --> 00:00:59,000
into our AdventureWorks Report,
27
00:00:59,000 --> 00:01:02,000
pull up our exec dashboard line chart
28
00:01:02,000 --> 00:01:04,000
and see if we can spot some anomalies.
29
00:01:04,000 --> 00:01:05,000
All right.
30
00:01:05,000 --> 00:01:06,000
So if you'd like to follow along,
31
00:01:06,000 --> 00:01:08,000
head to the Exec Dashboard tab.
32
00:01:08,000 --> 00:01:10,000
And we're gonna see if we can detect some anomalies
33
00:01:10,000 --> 00:01:12,000
in our revenue trending line chart.
34
00:01:12,000 --> 00:01:13,000
So first things first,
35
00:01:13,000 --> 00:01:16,000
if we drill into our quick format options
36
00:01:16,000 --> 00:01:19,000
you'll see, Find Anomalies here at the bottom of the list
37
00:01:19,000 --> 00:01:21,000
and it's currently deactivated.
38
00:01:21,000 --> 00:01:22,000
And the reason why is because
39
00:01:22,000 --> 00:01:25,000
we have three different fields in our X axis,
40
00:01:25,000 --> 00:01:28,000
year, quarter, and month so that we can enable that drill up
41
00:01:28,000 --> 00:01:30,000
and drill down functionality.
42
00:01:30,000 --> 00:01:31,000
Now, if we want anomaly detection,
43
00:01:31,000 --> 00:01:34,000
we kind of have to make this trade off.
44
00:01:34,000 --> 00:01:35,000
And the simplest way to do that
45
00:01:35,000 --> 00:01:38,000
would be to remove the year and quarter fields.
46
00:01:38,000 --> 00:01:40,000
And now, if we head back to those options,
47
00:01:40,000 --> 00:01:43,000
we can activate anomalies.
48
00:01:43,000 --> 00:01:44,000
And what this is gonna do is create
49
00:01:44,000 --> 00:01:46,000
what's called a sensitivity band
50
00:01:46,000 --> 00:01:50,000
shown in gray surrounding our line chart here.
51
00:01:50,000 --> 00:01:52,000
And if we hover over some of the tool tips,
52
00:01:52,000 --> 00:01:54,000
you'll see three new values appear,
53
00:01:54,000 --> 00:01:57,000
an expected value, an expected minimum,
54
00:01:57,000 --> 00:01:59,000
and an expected maximum.
55
00:01:59,000 --> 00:02:01,000
And that minimum and maximum value
56
00:02:01,000 --> 00:02:05,000
defines the width of that sensitivity band.
57
00:02:05,000 --> 00:02:06,000
Now that's something that we can adjust
58
00:02:06,000 --> 00:02:09,000
and customize in our formatting pain.
59
00:02:09,000 --> 00:02:11,000
If we scroll all the way down to the bottom
60
00:02:11,000 --> 00:02:13,000
to the Find Anomalies Options,
61
00:02:13,000 --> 00:02:15,000
right here we see our sensitivity,
62
00:02:15,000 --> 00:02:18,000
which is defaulted to 70%.
63
00:02:18,000 --> 00:02:21,000
And what would happen if we had a less sensitive model?
64
00:02:21,000 --> 00:02:23,000
We can apply a 50% sensitivity
65
00:02:23,000 --> 00:02:27,000
and we'll see that band expand pretty dramatically.
66
00:02:27,000 --> 00:02:30,000
And what that basically means in plain English
67
00:02:30,000 --> 00:02:34,000
is that it would take a very, very high or low value
68
00:02:34,000 --> 00:02:37,000
in order to exceed the bounds of that band.
69
00:02:37,000 --> 00:02:38,000
Whereas on the other hand,
70
00:02:38,000 --> 00:02:42,000
if we increase the sensitivity to something like 90%,
71
00:02:42,000 --> 00:02:45,000
we'll see that band contract significantly.
72
00:02:45,000 --> 00:02:49,000
So now we're more sensitive to those outliers and anomalies.
73
00:02:49,000 --> 00:02:51,000
It doesn't take much volatility
74
00:02:51,000 --> 00:02:53,000
in order for a data point to get flagged.
75
00:02:53,000 --> 00:02:57,000
Now, we still don't see any anomalies called out here
76
00:02:57,000 --> 00:02:59,000
but keep in mind that this visual
77
00:02:59,000 --> 00:03:01,000
and the anomaly detection feature
78
00:03:01,000 --> 00:03:04,000
responds to filter context just like any normal visual.
79
00:03:04,000 --> 00:03:08,000
So we can click to Accessories or to Bikes and check it out.
80
00:03:08,000 --> 00:03:10,000
Now we see an anomaly,
81
00:03:10,000 --> 00:03:12,000
which is marked by this icon or this flag
82
00:03:12,000 --> 00:03:15,000
that's appeared on December, 2021.
83
00:03:15,000 --> 00:03:18,000
And it's flagged because the revenue for that month,
84
00:03:18,000 --> 00:03:23,000
at 1.511 million, exceeded the expected maximum value
85
00:03:23,000 --> 00:03:25,000
of 1.508 million.
86
00:03:25,000 --> 00:03:28,000
And what's really cool is that you can click that marker
87
00:03:28,000 --> 00:03:30,000
and it's gonna open up a new tab
88
00:03:30,000 --> 00:03:33,000
a new pane here on the right that describes the anomaly
89
00:03:33,000 --> 00:03:36,000
and provide some possible explanations.
90
00:03:36,000 --> 00:03:38,000
So right now it says, we couldn't find any
91
00:03:38,000 --> 00:03:41,000
significant explanations for this anomaly.
92
00:03:41,000 --> 00:03:42,000
And the reason why is because,
93
00:03:42,000 --> 00:03:44,000
if we go back to our format pane,
94
00:03:45,000 --> 00:03:48,000
right here beneath the sensitivity option,
95
00:03:48,000 --> 00:03:51,000
we don't have anything in this Explain By field.
96
00:03:51,000 --> 00:03:53,000
So what we can do here is say,
97
00:03:53,000 --> 00:03:56,000
hey, try to explain the anomaly
98
00:03:56,000 --> 00:03:59,000
by looking at changes in a certain field,
99
00:03:59,000 --> 00:04:03,000
like product subcategory name for instance.
100
00:04:03,000 --> 00:04:05,000
Let's go ahead and click apply.
101
00:04:05,000 --> 00:04:08,000
Now when we head back to that anomaly pane
102
00:04:08,000 --> 00:04:11,000
now we get a possible explanation,
103
00:04:11,000 --> 00:04:14,000
which is subcategory name is Mountain Bikes.
104
00:04:14,000 --> 00:04:16,000
And it says, total revenue for subcategory name,
105
00:04:16,000 --> 00:04:18,000
Mountain Bikes, was unusually high
106
00:04:18,000 --> 00:04:21,000
which may have lifted the total revenue total.
107
00:04:21,000 --> 00:04:24,000
So it's kind of helping us with some root cause analysis
108
00:04:24,000 --> 00:04:26,000
and it's also giving us a measure of strength.
109
00:04:26,000 --> 00:04:28,000
In this case, 13%.
110
00:04:28,000 --> 00:04:30,000
And like this tool tip says,
111
00:04:30,000 --> 00:04:32,000
this gives us the degree to which
112
00:04:32,000 --> 00:04:35,000
each value is correlated with the anomaly.
113
00:04:35,000 --> 00:04:36,000
A higher percentage or higher strength
114
00:04:36,000 --> 00:04:39,000
means that this factor has a greater impact.
115
00:04:39,000 --> 00:04:42,000
And we can add multiple fields here as well.
116
00:04:42,000 --> 00:04:44,000
So let's add another field
117
00:04:44,000 --> 00:04:46,000
for something completely different,
118
00:04:46,000 --> 00:04:48,000
like country for instance,
119
00:04:49,000 --> 00:04:52,000
click apply, head back to anomalies,
120
00:04:52,000 --> 00:04:55,000
and now, it's found an even stronger factor,
121
00:04:55,000 --> 00:04:57,000
which is, country is United States.
122
00:04:57,000 --> 00:05:00,000
That has a strength of 36%.
123
00:05:00,000 --> 00:05:03,000
Now, one feature that I love about anomaly detection
124
00:05:03,000 --> 00:05:05,000
is that these visuals that are produced
125
00:05:05,000 --> 00:05:07,000
to support the explanation
126
00:05:07,000 --> 00:05:10,000
can be added to the report as new visuals.
127
00:05:10,000 --> 00:05:13,000
So if you found a really interesting anomaly
128
00:05:13,000 --> 00:05:16,000
and narrowed down to a significant root cause,
129
00:05:16,000 --> 00:05:18,000
you could add that visual to the report
130
00:05:18,000 --> 00:05:19,000
by clicking this button.
131
00:05:19,000 --> 00:05:22,000
It's gonna drop it right here on the canvas
132
00:05:22,000 --> 00:05:26,000
and you can resize, format, treat it like any other visual.
133
00:05:26,000 --> 00:05:27,000
Really, really cool stuff.
134
00:05:27,000 --> 00:05:30,000
So I'm gonna delete that visual here.
135
00:05:30,000 --> 00:05:31,000
And last thing to call out is that,
136
00:05:31,000 --> 00:05:35,000
we can just format our anomaly options
137
00:05:35,000 --> 00:05:37,000
just like anything else, right.
138
00:05:37,000 --> 00:05:39,000
So, let's select our line chart,
139
00:05:39,000 --> 00:05:42,000
head back into our Anomaly Options.
140
00:05:42,000 --> 00:05:45,000
And this is where we can change things like the color
141
00:05:45,000 --> 00:05:48,000
or the size or shape of the marker itself.
142
00:05:48,000 --> 00:05:51,000
Actually, kind of like this teardrop in gray.
143
00:05:51,000 --> 00:05:55,000
And we can change how that sensitivity band looks as well.
144
00:05:55,000 --> 00:05:59,000
So, maybe we want something like a yellow shade here
145
00:05:59,000 --> 00:06:02,000
with a little bit less transparency.
146
00:06:02,000 --> 00:06:04,000
Totally up to you.
147
00:06:04,000 --> 00:06:07,000
But just note that all this stuff is customizable.
148
00:06:07,000 --> 00:06:08,000
So there you have it.
149
00:06:08,000 --> 00:06:11,000
That's your crash course in anomaly detection.
11618
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.