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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Rohit001
Helper I
Helper I

Forecast value

Rohit001_0-1704539436060.png

I am trying to find out the forecast alue for the next dates using balow formula but after applying the forecast value it not showi n the next date value it showing collection values 
dax code

Forecast 11 =
VAR CurrentMonth = MONTH(MAX('Table'[Date]))
VAR CurrentYear = YEAR(MAX('Table'[Date]))
VAR LastDateOfMonth = CALCULATE(MAX('Table'[Date]), ALL('Table'), 'Table'[Date] >= DATE(CurrentYear, CurrentMonth, 1), 'Table'[Date] <= EOMONTH(MAX('Table'[Date]), 0))
VAR RemainingDays = LastDateOfMonth - MAX('Table'[Date]) + 1
RETURN
IF(ISBLANK(SUM('Table'[Collection])), BLANK(), SUM('Table'[Collection]) * RemainingDays)

 

2 REPLIES 2
Anonymous
Not applicable

Hi, @Rohit001 

Based on the information you have provided, Here are my answers to your questions.

 

According to the DAX you provided and the data in the picture, I found that just a set of Collections to get a set of Forecast 11 is not enough, I don't really know your specific needs and how you want to present the effect picture at the end, if you can, you can give me one more set of Collections value or present a picture of the effect you want to realize.

 

 

 

How to Get Your Question Answered Quickly 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Dangar332
Super User
Super User

hi, @Rohit001 

 

can you explain logic behind forcast value?

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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