Forum Discussion
Create Weeks and calculate evolution
Hi matrin ,
You can create these calculated columns to calculate each year week total sales:
Week = WEEKNUM('Table'[Date],1)Total =
CALCULATE (
SUM ( 'Table'[Sales] ),
ALLEXCEPT ( 'Table', 'Table'[Week], 'Table'[Date].[Year] )
)If you want to see the evolution, use a line chart and multi select the slicer with year and month:
Here is my sample file that hopes to help you, please check and try it: Create Weeks and calculate evolution.pbix
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
This is exactly what I need, but I need to see evolutions (metrics) by comparing week 2 of 2020 and week 2 of 2019 in a table.... Do you think it is possible? v-yingjl
- v-yingjl6 years agoCommunity Support
Hi matrin ,
Did you mean use the Matrix to show it? I don't think it can relfect better than a line chart though the matrix needn't use the slicer.
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.