

For a metric such as Average Length of Stay, users could browse the Power BI report to compare trends over time by Department, DRG, Floor, Primary Diagnoses, Location, Day of Week, etc and find areas in need of attention.īefore reading any further, if you are looking for a simple trendline on a chart then there is an out-of-the-box option that only takes a few clicks (click here).

These dynamic calculations can be used to simply visualize trends, or to bubble up specific sub-categories of data that are sharply trending up or down over time. In Healthcare (this is a Healthcare Blog) some examples might include Average Length of Stay, Complications, Falls, Performance Metric Rates, Supply Chain Metrics, and more. The approach used in this example could be applied to any data on a date axis, for any industry.

Recently I was asked to provide an example of a custom Linear Regression Trendline in Power BI that can dynamically re-calculate for both different levels of a Date hierarchy along with different filter selections. Custom Linear Regression DAX expressions give you insights into all components of the Y = MX + B equation.
