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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
MH3
Helper V
Helper V

Forecast Next Month

I have Forecast Sales from Current Month till the End of the year

Like its 20/March/2020, I have Forecast from 20 March and so on,

 

 

 

 

I want to see the Total of Next Month in a Card Value and it should change according to the context of Current Month from the Forecast

 

for Example:  I have Sales Forecast for the Month of March, April, .... and so on

I need a single Sum of April Forecast in context of Current Month which is March.

 

Like Current Month is March, So, (April Sale Forecast ex ; 5000), and when the Current Month changes it should show May Forecast respectively.

forecast - Next Month.jpg

 

Kindly Help 

@amitchandak 

1 ACCEPTED SOLUTION

Hi @MH3 ,

 

Modify your measure as below:

 

forecast NextMonth = CALCULATE(
    [FC Room Revenue],
    NEXTMONTH(DimCalendar[Date]))
)

 

I create sample data you can refer to,pls click here.

 

 
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

View solution in original post

5 REPLIES 5
MH3
Helper V
Helper V

@v-kelly-msft 

 

How can I calculate forecast for the Next Season?

as I have Two Seasons in my Date Table in which

 

27 Weeks is of Summer Season and the other 27 Weeks is of Winter Season in each Year,

 

I want to calculate the Next Season Forecast, how can I achieve this I haven't found the function for Next Season though.

 

Help!

 

amitchandak
Super User
Super User

Try something like this

measure =
var _max = maxx(date,date[Date])
return
if(format(today(),"YYYYMM") >=format(_max,"YYYYMM"), [revenue], [forecast])

 

or

 

measure =
var _max = maxx(date,date[Date])
return
if(format(today(),"YYYYMM") >=format(max(date[Date]),"YYYYMM"), [revenue], [forecast])

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Next_Month.jpg

 

My Forecast Room Revenue Measure is : 

 Which is displaying forecast for all the dates, from the current month date.

FC Room Revenue = If(  [FC ADR]=BLANK(), 
BLANK(), [FC ADR]*[FC Occupied Room])

 

My Forecast Room Revenue Next Month Measure is: 

 

want to display a Card Value, Like if current month is march, then it should April, and then April comes, then it will show May's Forecast.

 

forecast NextMonth = CALCULATE(
    [FC Room Revenue],
    FILTER(DimCalendar, MONTH(DimCalendar[Date]+1))
)

This Measure is Broken, as you can see in the ScreenShot @amitchandak  

Hi @MH3 ,

 

Modify your measure as below:

 

forecast NextMonth = CALCULATE(
    [FC Room Revenue],
    NEXTMONTH(DimCalendar[Date]))
)

 

I create sample data you can refer to,pls click here.

 

 
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

@v-kelly-msft 

 

Thanks for your solution,

 

I have used this function of NextMonth.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.