Forum Discussion
Sales LY using header filters
Hi fellows,
I use to work with Power for a long time but I always find same problem with header filters. I dont know how can I desing proper formul to obtenain automatic calculate measure Net Sales LastYear
Here:
[IMG]http://i65.tinypic.com/2eku6c6.jpg[/IMG]
Thanks in advanced
Hi Anonymous
Create a calendar table connecting to your fact table
calendar = CALENDARAUTO()
Create a measure in your fact table
LY sales = CALCULATE(SUM(Sheet2[sales]),SAMEPERIODLASTYEAR('calendar'[Date]))Add [Date] from calendar table into a slicer
Best Regards
MaggieCommunity Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 Replies
- AnonymousNot applicable
<a href="http://es.tinypic.com?ref=2eku6c6" target="_blank"><img src="http://i65.tinypic.com/2eku6c6.jpg" border="0" alt="Image and video hosting by TinyPic"></a>
- AnonymousNot applicable
- AnonymousNot applicable