Forum Discussion
Total not reading correctly
Hello Friends,
Below I have calculated the rolling 12 M sales. The logic on this rolling 12M is basically as below.
If I'm looking for the rolling 12 month for Jan 2022, it should take the sales from Jan 2021 - Dec 2021.
Below is the DAX for that.
KR,
Sandeep
11 Replies
- bcdobbsCommunity Champion
Can you change it so it returns prevmo? I think that will give us a clue as to what is happening.
Also what is the last date in your date table?
- AnonymousNot applicable
The above table I have to update to BI service which is going to take a bit of time to fetch the updated values from DW. But for quick glance I have made the change in the desktop version as you requested. Here the timeline of data is from 201901-202112. As you can see the total and the first month of the data series are matching (even though its blank). the prevmo is returning exactly what I want
- bcdobbsCommunity Champion
Just mocking up a demo. Will get back to you!