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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.