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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Fiona72
New Member

Forecasting

Hi my goal is to see a count of forecasted work orders for each month over a year by job plan to determine if there are too many work orders in one month to adjust the spread of start dates in source accordingly. The frequency units are in weeks, months & years with various frequencies and start dates. My data is structured like this & I have a calander table.

 

Job PlanWO No.FrequencyFrequncy UnitsStart Date
Inspection112Weeks1/3/2024
Inspection223Months15/2/2024
Inspection331Year1/6/2024


I want to visualise it something like this:

 

JobPlanJanFebMaretc
Inspection1536 
Inspection2222 
Inspection38 5 
Total15513 

 

I'm not sure how to tackle it - I think I'd be OK to do the visualisation if I could just get the data extrapoloated! Any help appreciated!!

 

2 REPLIES 2
amitchandak
Super User
Super User

@Fiona72 , Try creating a table like

 

Work Order Table Expanded =
UNION (
SELECTCOLUMNS (
FILTER (
'Table',
'Table'[Frequency Units] = "Weeks"
),
"Job Plan", 'Table'[Job Plan],
"Date", DATEADD('Table'[Start Date], [Frequency] * 7, DAY)
),
SELECTCOLUMNS (
FILTER (
'Table',
'Table'[Frequency Units] = "Months"
),
"Job Plan", 'Table'[Job Plan],
"Date", DATEADD('Table'[Start Date], [Frequency], MONTH)
),
SELECTCOLUMNS (
FILTER (
'Table',
'Table'[Frequency Units] = "Years"
),
"Job Plan", 'Table'[Job Plan],
"Date", DATEADD('Table'[Start Date], [Frequency], YEAR)
)
)

 

 

Then you can try a meausre like

 

Work Order Count =
COUNTROWS('Work Order Table Expanded')

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you! I've got it partially working.... it only seems to work if the start date is the first of the month ie it will add the frequency to the date if 1/9/2024 + 1 month = 1/10/2024 but it will not add a month if start date is 5/2/2024?

Also that gives me the next date for each job plan how do I extraploate it out for a year? ie if there's a weekly activity I hope to get 52 forecasted activities?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.