Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Solved! Go to Solution.
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
Maggie
Community 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.
<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>
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
Maggie
Community 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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
101 | |
79 | |
72 | |
64 |
User | Count |
---|---|
143 | |
109 | |
103 | |
82 | |
74 |