Forum Discussion
clarkey1988
5 years agoHelper II
Calculating Previous Week Data
Hi, I wonder if anyone cna help me. I'm trying to calculate the previous week's sum of weight. So for week 20 in the screen shot below I need the Previous Week Weight column to reflect Week 19's ...
- 5 years ago
Hi, clarkey1988
If you think that the filters are breaking the measure, I suggest you to use the ALL() function to replace the ALLExcept() function in your original measure. Because the ALL() function can ignore any filters outside that might have been applied to avoid the effect of the visual filter.
Thank you very much!
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
dkaushik
5 years agoResolver II
Hi clarkey1988
Would you able to share the pbix file?
Also, I think the week - 1 logic should not be included under ALLEXCEPT.
clarkey1988
5 years agoHelper II