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

Forecasting this year's daily sales based on last year's percent complete

Hi! I'm trying to create a daily forecast for sales based on last year's percent complete between October and December. In other words, if cumulative sales on this day last year represented 10% complete last year, I want to be able to be able to forecast the total sales we expect to end up with and then, using last year's daily % complete, forecast what daily sales would look like if they followed the same daily % complete as last year. I mocked up some dummy data below and in this Dummy data for daily forecast file. Results would look something like the table below, but going through the end of December. Any help would be greatly appreciated!

 

Month DayThis year salesCumulative this year salesForecasted SalesCumulative % 1 Yr RevenueSales 1 Yr Ago
1-Oct$682,067$682,067$682,0670.0108688$810,315
2-Oct$577,821$1,259,888$1,259,8880.0192016$621,249
3-Oct$824,018$2,083,906$2,083,9060.0275767$624,396
4-Oct$830,449$2,914,355$2,914,3550.0371482$713,598
5-Oct$725,546$3,639,901$3,639,9010.0499106$951,491
6-Oct$757,971$4,397,872$4,397,8720.0609925$826,206
7-Oct$686,591$5,084,463$5,084,4630.0728939$887,300
8-Oct$607,627$5,692,090$5,692,0900.0859474$973,196
9-Oct$518,373$6,210,463$6,210,4630.0949903$674,185
10-Oct$817,283$7,027,746$7,027,7460.1048278$733,433
11-Oct$879,377$7,907,123$7,907,1230.1146099$729,291
12-Oct$678,086$8,585,209$8,585,2090.1246514$748,638
13-Oct$637,021$9,222,230$9,222,2300.1351502$782,732
14-Oct$662,635$9,884,865$9,884,8650.146409$839,396
15-Oct$470,992$10,355,857$10,355,8570.1576202$835,841
16-Oct$522,056$10,877,913$10,877,9130.1662819$645,769
17-Oct$537,921$11,415,834$11,415,8340.1749805$648,514
18-Oct$580,689$11,996,523$11,996,5230.1850124$747,928
19-Oct$133,738$12,130,261$12,130,2610.1941659$682,427
20-Oct$0 $12,837,3720.2054844$843,842
21-Oct$0 $13,526,7940.2165198$822,742
22-Oct$0 $14,140,2980.22634$732,137
23-Oct$0 $14,576,1900.2333172$520,179
24-Oct$0 $15,056,0440.2409981$572,649

 

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @bechi,

You can extract the current date and use it as a variable to get the previous year's date value. Then you can use this date and current category to look up and summary results.

For the calculation to finish in December, you can add a condition to extract the current date year part values as a condition to compare with the date field, then the calculations will be finished at the end of the year.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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.

Top Solution Authors