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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
LucasCamargo
Helper I
Helper I

Cannot build Forecast with WeekNum and Weekdays

I am trying to build a Forecast using the Weeks numbers and Weekdays, so my Line Chart shows me the peaks according to the weekdays, analysing by week (like, week 42, 43...). 

 

The problem is: every time I tried to add the weekdays or weeknum fields, even been a numbers fields (not text), the Forecast option disappears and i'm not able to use it properly.

 

For my chart i'm not using the normal Date Hierarchy power BI gives me automatically. Instead, In my Calendar table I created columns for weekdays and months so I had control to start the week on "monday" and to have a better visualization in my graphs.

LucasCamargo_0-1701232256784.png

 

Already tried creating my own Date Hierarchy to add my custom date columns but no success.

REALLY need to forecast by Weeknum and Weekday, Please Help

2 REPLIES 2
vicky_
Super User
Super User

Judging by your description, the issue lies in your custom columns - in particular, this article (https://powerbi.microsoft.com/en-au/blog/introducing-new-forecasting-capabilities-in-power-view-for-...) states that forecasting will NOT work with text types such as weekday. But it will work with whole numbers. So what i can suggest is to use the number representation of your weekday(s) and use the text as either a tooltip, or you will need to write a custom measure for forecasting, which is discussed in this thread: https://community.fabric.microsoft.com/t5/Desktop/Create-a-weekly-forecast-chart/td-p/1353375

I already did that. The columns "Weekday Nº" and "Week Overall Nº" are the representations of Weekdays and WeekNum in numbers, but still, everytime I put these in my chart, the Forecast button disappears.

The only thing Power BI recognizes to Forecast is the pre set Date Hierarchy (Year/Quarter/Month/Day).
I already tried everything I know to have the forecast by weeknum and weekday and had no success at all.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.