Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Experts ,
I have change log table with effective date for No. of packs in Box we sell (sample below) - 3 years data
- & i have data for No. of packs as of today (for all material) - like below
what would be best calc to use above which can give me what was EA in Box for all week ending in last 3 years.
Thanks
@solankikumar , Have date table joined with Changed Date. Have a week column in that
example
Week Start date = 'Date'[Date]+-1*WEEKDAY('Date'[Date],2)+1
Week End date = 'Date'[Date]+ 7-1*WEEKDAY('Date'[Date],2)
Then have measures like
calculate(lastnonblankvalue(Date[Date], Sum(Table[New Value])), filter(all(Date), Date[Date] <= Max(date[Date]) ) )
Use this along with Week start/end date from date table and other from table
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
26 |
User | Count |
---|---|
95 | |
50 | |
43 | |
40 | |
35 |