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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
stealth_66
Frequent Visitor

Forecasting Current College Term Data

Hi folks.  I am new to Power BI and I have been struggling for a few weeks trying to figure out how to do the forecasting in Power BI.  This is a sample of my data:  

stealth_66_0-1649119493021.png

This data goes back 6 years with current data for Summer and Fall.  Data is collected for types of app=applications received and types of enr=enrollments weekly.  I only need the forecast for the summer (1222) and fall (1223) terms.  I have data up through 4/3/2022 report date.  I need to forecast the summer term through 6/19/2022 (start date of 1/30/2022) and fall term through 9/4/2022 with same start date.  I have a current visual that compares the data against years and at same time frame in term.  But I want to have the comparison along with the forecast (except the actual values) when there are some actual values.

stealth_66_1-1649120420759.png

I have no idea on just how to set up the forecast. Any help is greatly appreciated.

 

2 REPLIES 2
Anonymous
Not applicable

Hi  @stealth_66 ,

You might consider adding a Y-Axis Constant Line to Analytics.

Create a measure by customizing the rules and place it in to form a prediction line

vyangliumsft_0-1649300140524.png

Or you can consider creating a calendar table. Create measure through custom rules, use the calendar table's Days Before Start as the Axis, and the Measure as the Value.

Create calculated table.

Table 2 =
CALENDAR(DATE(2022,1,7),DATE(2022,12,31))

vyangliumsft_1-1649300140524.png

Create measure.

Measure 2 =
var _select=SELECTEDVALUE('Table'[Unit Type])
return
SWITCH(
    TRUE(),
    MAX('Table 2'[qu])<MAX('Table'[qu]),CALCULATE(SUM('Table'[Unit Value]),FILTER(ALL('Table'),'Table'[qu]=MAX('Table 2'[qu])&&'Table'[Unit Type]=_select)) + 1000,
     MAX('Table 2'[qu])=MAX('Table'[qu]),CALCULATE(SUM('Table'[Unit Value]),FILTER(ALL('Table'),'Table'[qu]=MAX('Table 2'[qu])&&'Table'[Unit Type]=_select)) ,
     CALCULATE(SUM('Table'[Unit Value]),FILTER(ALL('Table'),'Table'[qu]=MAX('Table 2'[qu])&&'Table'[Unit Type]=_select)) + 2000)

 

Best Regards,

Liu Yang

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

Hi Liu,

 

I am not sure what some of the values are returning.  What is [qu]?  Here is a copy of my pbix.  https://app.powerbi.com/groups/7dd5ba50-5dc0-485b-86fb-e35a83efbc57/reports/d95d3789-7193-43b1-bc6a-...

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.