Show only the sales for the last 12 months

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Recently I was helping someone on the Power BI community who wanted to only see the sales for the last 12 months in his chart, nothing more. Well this is pretty simple using DAX and I decided to use variables as well. The key here is to think about what you really want and see if you can express this using DAX. In this case it is pretty simple: only show the sum of sales if they happened in the last 12 months.




Tags: dax


2007-2015 VidasSoft Systems Inc.