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,
I am looking for solution to get 5 day average per week.
I have table like this;
I would like to see result like this;
As you can see I would like to see 5 day average from current week to last 5 weeks.
I have tried some solution but not working as expected.
Any help would be appreciated!
Thanks
A typical senario where WINDOW() function comes into play.
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
you can try to create an index column and use DAX to create another column
Column =
VAR _max=max('Table'[Index])
return if ('Table'[Index]+4>_max,blank(),AVERAGEX(FILTER('Table','Table'[Index]>=EARLIER('Table'[Index])&&'Table'[Index]<=(EARLIER('Table'[Index])+4)),'Table'[total]))
pls see the attachment below
Proud to be a Super User!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
68 | |
64 | |
50 | |
36 | |
26 |
User | Count |
---|---|
80 | |
57 | |
45 | |
44 | |
35 |