Trend Analysis in Power BI
Jacob H. Marquez
Data Scientist at Microsoft
$$
Definition:
A series of data points graphed in chronological order.
Most commonly, it is a sequence taken at successive equally spaced points in time.
$$
Use Cases:
$$
Examples:
Period-over-period change
Period-over-period change
Month | Stock Price | MoM Change |
---|---|---|
Jan 2018 | $20.67 | -- |
Feb 2018 | $19.79 | -4.3% |
Mar 2018 | $21.34 | 7.9% |
Apr 2018 | $21.25 | -0.4% |
May 2018 | $22.12 | 4.1% |
Jun 2018 | $22.85 | 3.3% |
DATE()
: constructs a date value from parts (e.g. year, month, and day)
LEFT()
: extracts a given number of characters from a set of characters, starting from the left side.
RIGHT()
: extracts a given number of characters from a set of characters, starting from the right side.
MID()
: extracts a given number of characters from a set of characters, starting from a defined place in the set.
WEEKDAY()
: returns the day of the week as a number; default is to use the number 1 for Sunday.
Trend Analysis in Power BI