title: How to Calc Exponential Moving Average using SQL Server 2012 Window Functions
body: <p>I know that it is easy to calculate simple moving average using SQL Server 2012 window functions and <code>OVER()</code> clause. But how can I calculate exponential moving average using this approach? Thanks!</p>