Forum Discussion
Anonymous
6 years agoNot applicable
Circular Dependency Error
Hi Guys, I am a self-taught power bi user so I kind of still have problems when it comes to creating measures and columns. I attempted to create a calculated column which shows me vs Previou...
- 6 years ago
Hi Anonymous ,
You could try to use below calculated column to see whether it work or not.
SoM2 = CALCULATE(SUM(Sheet1[Sales]),FILTER(Sheet1, YEAR(Sheet1[MONTH])*100+MONTH(Sheet1[MONTH])= YEAR(EARLIER(Sheet1[MONTH]))*100+MONTH(EARLIER(Sheet1[MONTH]))-1))I use sheet2 in your sample as dataset. You could refer to my sample for details.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.