Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
JMckeever5
Frequent Visitor

Running for Current Week starting on a Monday

Hi there, can anyone help. I have created a measure which calculates the last 4 weeks Totals, using a l4W start Date and L4w End Date.

__Step2 = AVERAGEX('Sales Dates',
Calculate(sum(Sales[Sales (GBP)]),
 FILTER('Sales Dates','Sales Dates'[Date] <= [__L4w End Date] && 'Sales Dates'[Date] >= [__L4w Start Date]))/4. This works 100%.  I am battling now to create a rolling 4 weak measure.  Can anyone please assist.
Monday589  
Tuesday547  
Wednesday501  
Thursday496  
Friday492  
Saturday73  
Sunday21  
2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Share data in a format that can be pasted in an MS Excel file.  Show the expected result on the sample that you share.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

Please provide a more detailed explanation of what you are aiming to achieve. What have you tried and where are you stuck?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.