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
ADRICHECKIN
Frequent Visitor

Roolling previous weeks

Hi team,

 

Best way to calculate "sales" for current Week, Last week, -2 weeks...and so on? Considering weeks starts on Monday. I have read many about, but withouth a clear idea of how to do. 

 

A table as example.

 

 

DATEDAYWEEKNUMSALES
26/12/202052140 €
27/12/2020do52150 €
28/12/2020lu53160 €
29/12/2020ma53170 €
30/12/2020mi53180 €
31/12/2020ju53190 €
01/01/2021vi1200 €
02/01/20211210 €
03/01/2021do1220 €
04/01/2021lu2230 €
05/01/2021ma2240 €
06/01/2021mi2250 €
07/01/2021ju2260 €
08/01/2021vi2270 €
09/01/20212280 €
10/01/2021do2290 €
11/01/2021lu3300 €
12/01/2021ma3310 €
    
    
 sales current week3610 €
 sales last week21.820 €
 sales -2 week1630 €
 sales-3 week53700 €

 

I really apreciate for help!

1 ACCEPTED SOLUTION
2 REPLIES 2

Thank you very much. Easy, simple and work perfectly!

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.