Forum Discussion
Dynamic Calculation of weekly Total
dirkkoch , Part of this seems like WTD, refer my blog for that
Power BI — Week on Week and WTD
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-Last-Week/ba-p/1051123
https://www.youtube.com/watch?v=pnAesWxYgJ8
- dirkkoch5 years ago
Helper III
amitchandak , thank you for the reply and support.
I looked up your very helpful blog and added all missing columns to my date table as shown in your overview.
But still I am missing the right approach to create the required DAX measure in detail to get the desired result as shown in the first message.
The first Total number is calculated per measure in one separate table related with the date table
No of engines =var count=CALCULATE(COUNTROWS(T050_DATA_BATCH),T050_DATA_BATCH[Abstellort Motor]="Mannheim - SGZ", T050_DATA_BATCH[Inbound Mannheim Plandatum].[Date]<=TODAY())returnif(isblank(count),0 ,count)This measure results in 31 which now should be used for further calculation logic per week as mentioned in the first message. Do you mind to give the exact DAX measure to apply for this calculation.Thank you again for the support! Highly appreciated.