DAX now has variable support!
With the latest release of the Power BI designer that now supports measure creation we also snuck in another feature that is very useful in complicated measure scenario's and for performance optimizations. DAX now supports variables. Lets take a look at what that means. Here is an example that I use in my Power BI designer sessions where I calculated the future value of a principle amount, this is something that is very commonly used in the stock market. Excel has a function for this called FVSCHEDULE. Using our new PRODUCTX function it is pretty straightforward to implement yourself.
Read more...