Forum Discussion
Create a weekly forecast chart
Anonymous , if you want power BI line forecast. You can have the week start date
Week Start Date = [Date] - Weekday([Date]) -1 //Sunday
Week Start Date = [Date] - Weekday([Date],2) -1 //Monday
Plot this in a line visual and forecast for 2 periods use week start date as the axis.
Or You can use R/Python integration
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-python-scripts
https://en.blog.businessdecision.com/how-to-use-the-python-integrator-in-powerbi/
https://towardsdatascience.com/using-python-in-power-bi-ee95a6b71443
https://powerbi.microsoft.com/en-us/blog/python-visualizations-in-power-bi-service/
https://powerbi.microsoft.com/en-us/blog/python-visualizations-in-power-bi-service/
https://www.ahaapps.com/microsoft-power-bi-service-with-python-visualizations/
- Anonymous5 years agoNot applicable
Thanks for your response. Your solution got me close to what I'm looking for. The only thing about the visualization is that it failed to show the actual start of week on the x-axis when i made the forecast instead it shows the month year. Is there a way i can solve this? Please see below. Thanks.