I have a DAX measure that essentially calculates a 3 month moving average that is offset by a couple of months. This measure uses the units sold as its base measure and branches out. I am getting the correct figures within the filter context but not in the total. I tried a technique I saw on enterprise DNA but it is not giving me the right answer. Any help would be appreciated and an explanation of the technique would be helpful!
You just need to create a small measure provided below in order to fix the total. Below is the measure as well as screenshot of the final results provided for the reference -
I’m also attaching the working of the PBIX file as well as providing the link of the post which was created by one of our expert @Greg on this very topic.
Hoping you find this useful and meets your requirements that you’ve been looking for.
Important Note:
1. There’s a difference of $1 in the total between the results showcased into the picture and the results achieved. This must be because of the decimal portion issue.
2. In order to view the entire post, please click onto the link and not onto the “expand/collapse” button.
Thank you for the reply, I did notice that pattern that you provided as the solution in another video posted by EDNA. I think where I went wrong is that I was trying to use the “dDate[Year Month]” rather than the dDate[Year] & dDate[Month] that I was using in the matrix.
Thanks again for your support, you saved me some valuable time!