<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to Create a Weekly Forecast Model based on Lookup Table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Create-a-Weekly-Forecast-Model-based-on-Lookup-Table/m-p/3543797#M136242</link>
    <description>&lt;P&gt;To create a weekly forecast model based on a lookup table in Power BI, you can follow these general steps:&lt;/P&gt;&lt;H3&gt;Step 1: Data Preparation&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Data Sources:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ensure that you have the necessary tables: "project hrs Lookup," the table with project start and end date variables, and any other relevant tables.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Relationships:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Establish relationships between the tables based on common fields, such as project ID or project type.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Step 2: Create a Calendar Table&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Calendar Table:&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;Create a calendar table that spans the time period you are forecasting. This table will be used to link to your other tables.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Step 3: Model Your Data&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Project Start Date Variable:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ensure that the "project start date variable" is correctly calculated and linked to the calendar table.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Lookup Table Integration:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Integrate the "project hrs Lookup" table into your model and connect it to the calendar table.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Step 4: Create Measures&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Week Number Measure:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a measure in the calendar table to calculate the week number based on the project start date.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Forecast Measure:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a measure that looks up the forecasted hours from the "project hrs Lookup" table based on the week number.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Step 5: Visualize Data&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Create Visuals:&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;Use Power BI visuals to display your forecasted hours. For example, use a line chart to show the trend of forecasted hours over time.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Step 6: Filter and Aggregate&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Project Owner Filter:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add filters to your visuals to focus on specific project owners or other relevant criteria.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Aggregate Data:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use aggregation functions to summarize data if needed, for example, to calculate total forecasted hours per project owner.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Step 7: Test and Iterate&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Test the Model:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ensure that your model is providing accurate forecasts and that the visuals are displaying the information you need.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Iterate as Needed:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adjust your measures or model structure if necessary based on your testing.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Additional Tips:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;DAX Functions:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Familiarize yourself with DAX (Data Analysis Expressions) functions, as they will be useful for creating calculated columns and measures.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Power BI Community:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you encounter specific issues or have questions, the Power BI community is a valuable resource for finding solutions and getting assistance.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Remember, the specific steps may vary based on the details of your data and requirements, but these general guidelines should help you get started with creating a weekly forecast model in Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accepting it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In case there is still a problem, please feel free and explain your issue in detail,&amp;nbsp;It will be my pleasure to assist you in any way I can.&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Nov 2023 05:44:16 GMT</pubDate>
    <dc:creator>123abc</dc:creator>
    <dc:date>2023-11-21T05:44:16Z</dc:date>
    <item>
      <title>How to Create a Weekly Forecast Model based on Lookup Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Create-a-Weekly-Forecast-Model-based-on-Lookup-Table/m-p/3543148#M136199</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table "project hrs Lookup" which forecasts the weekly projected hours attributable to a project based on week number from project start date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a Project Start &amp;amp; End Date Variables based on calculations against a contract end date in another table. This table also includes the project type, i.e. if it is NonStrategic, StrategicLow or StrategicHigh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to be able to create a forecast and apply the below weekly values to each forecasted project from the Project Start Date Variable so i can ultimately wrap projects together based on project owner etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody have any guidance on how i could achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(table: project hrs Lookup)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 19:57:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Create-a-Weekly-Forecast-Model-based-on-Lookup-Table/m-p/3543148#M136199</guid>
      <dc:creator>Massingc1983</dc:creator>
      <dc:date>2023-11-20T19:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Weekly Forecast Model based on Lookup Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Create-a-Weekly-Forecast-Model-based-on-Lookup-Table/m-p/3543797#M136242</link>
      <description>&lt;P&gt;To create a weekly forecast model based on a lookup table in Power BI, you can follow these general steps:&lt;/P&gt;&lt;H3&gt;Step 1: Data Preparation&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Data Sources:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ensure that you have the necessary tables: "project hrs Lookup," the table with project start and end date variables, and any other relevant tables.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Relationships:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Establish relationships between the tables based on common fields, such as project ID or project type.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Step 2: Create a Calendar Table&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Calendar Table:&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;Create a calendar table that spans the time period you are forecasting. This table will be used to link to your other tables.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Step 3: Model Your Data&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Project Start Date Variable:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ensure that the "project start date variable" is correctly calculated and linked to the calendar table.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Lookup Table Integration:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Integrate the "project hrs Lookup" table into your model and connect it to the calendar table.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Step 4: Create Measures&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Week Number Measure:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a measure in the calendar table to calculate the week number based on the project start date.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Forecast Measure:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a measure that looks up the forecasted hours from the "project hrs Lookup" table based on the week number.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Step 5: Visualize Data&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Create Visuals:&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;Use Power BI visuals to display your forecasted hours. For example, use a line chart to show the trend of forecasted hours over time.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Step 6: Filter and Aggregate&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Project Owner Filter:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add filters to your visuals to focus on specific project owners or other relevant criteria.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Aggregate Data:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use aggregation functions to summarize data if needed, for example, to calculate total forecasted hours per project owner.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Step 7: Test and Iterate&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Test the Model:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ensure that your model is providing accurate forecasts and that the visuals are displaying the information you need.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Iterate as Needed:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adjust your measures or model structure if necessary based on your testing.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Additional Tips:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;DAX Functions:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Familiarize yourself with DAX (Data Analysis Expressions) functions, as they will be useful for creating calculated columns and measures.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Power BI Community:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you encounter specific issues or have questions, the Power BI community is a valuable resource for finding solutions and getting assistance.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Remember, the specific steps may vary based on the details of your data and requirements, but these general guidelines should help you get started with creating a weekly forecast model in Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accepting it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In case there is still a problem, please feel free and explain your issue in detail,&amp;nbsp;It will be my pleasure to assist you in any way I can.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 05:44:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Create-a-Weekly-Forecast-Model-based-on-Lookup-Table/m-p/3543797#M136242</guid>
      <dc:creator>123abc</dc:creator>
      <dc:date>2023-11-21T05:44:16Z</dc:date>
    </item>
  </channel>
</rss>

