<?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: Help with Calculation - 1 Month Sales over 12 Months in a Chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Calculation-1-Month-Sales-over-12-Months-in-a-Chart/m-p/3578944#M138024</link>
    <description>&lt;P&gt;Here's a step-by-step guide:&lt;/P&gt;&lt;H3&gt;Step 1: Create a Date Table&lt;/H3&gt;&lt;P&gt;Power BI generally works well when you have a date table. If you don't already have a date table, you can create one. You can use the "Enter Data" option to manually input a date range that covers the period you are interested in. Alternatively, you can import a date table from your data source.&lt;/P&gt;&lt;H3&gt;Step 2: Create a Revenue Table&lt;/H3&gt;&lt;P&gt;Create a table with columns for Account Name, Deal Amount, and Close Date. For each account, enter the deal amount and the close date. It would be best to have one row for each account for each month that the revenue is allocated.&lt;/P&gt;&lt;H3&gt;Step 3: Merge Date and Revenue Tables&lt;/H3&gt;&lt;P&gt;Merge the Date table and the Revenue table based on the close date. This way, you'll have a single table with all the necessary information.&lt;/P&gt;&lt;H3&gt;Step 4: Calculate Allocated Revenue&lt;/H3&gt;&lt;P&gt;Create a new column in the merged table to calculate the allocated revenue for each month. You can use a formula similar to the one below:&lt;/P&gt;&lt;P&gt;DAX:&lt;/P&gt;&lt;P&gt;Allocated Revenue = [Deal Amount] / 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;Step 5: Create a Chart&lt;/H3&gt;&lt;P&gt;Now, you can create a chart using the Account Name and the Allocated Revenue columns. You can use a line chart or an area chart to visualize the revenue over the months.&lt;/P&gt;&lt;H3&gt;Step 6: Apply Filters&lt;/H3&gt;&lt;P&gt;To allow filtering by region or other criteria, you can use slicers. Create slicers for the relevant columns (e.g., Region) and connect them to the charts.&lt;/P&gt;&lt;H3&gt;Step 7: Explore in Power BI&lt;/H3&gt;&lt;P&gt;Publish your report to the Power BI service to share it with others or to schedule data refreshes if your data is regularly updated.&lt;/P&gt;&lt;H3&gt;Example DAX Measures&lt;/H3&gt;&lt;P&gt;Here are some DAX measures you might find useful:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX:&lt;/P&gt;&lt;P&gt;Total Allocated Revenue = SUM('YourTable'[Allocated Revenue])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This measure gives you the total allocated revenue for the selected period.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DAX:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Monthly Allocated Revenue = SUMX(VALUES('Date'[Month]), [Allocated Revenue])&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This measure gives you the monthly allocated revenue.&lt;/P&gt;&lt;P&gt;Adjust these measures based on your specific requirements and data model. I hope this helps!&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Dec 2023 05:20:13 GMT</pubDate>
    <dc:creator>123abc</dc:creator>
    <dc:date>2023-12-12T05:20:13Z</dc:date>
    <item>
      <title>Help with Calculation - 1 Month Sales over 12 Months in a Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Calculation-1-Month-Sales-over-12-Months-in-a-Chart/m-p/3578139#M137980</link>
      <description>&lt;P&gt;Hi everyone - I am extremely new to BI and could use some help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is this:&lt;/P&gt;&lt;P&gt;Lets say I have an account that has an sale set to close in January for an estimated revenue. But that revenue is set to be paid over 12 months - what is the best way to model that in BI?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So scenario is&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jims TV's is set to close a 12 Million dollar deal in Janaury, but that payment will be realized over 12 months. Currently my data says&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jims TV's 12M for January&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I want to set it up so it shows on a chart&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jims TV's&amp;nbsp;&lt;/P&gt;&lt;P&gt;January 1M, February 1M, March 1M, etc....over 12 months in the future.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this make sense? We have thousands of accounts so I need to set a chart where I can filter and show by region for example how the revenue is phased month by month over a year&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 18:04:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Calculation-1-Month-Sales-over-12-Months-in-a-Chart/m-p/3578139#M137980</guid>
      <dc:creator>aweger</dc:creator>
      <dc:date>2023-12-11T18:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Calculation - 1 Month Sales over 12 Months in a Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Calculation-1-Month-Sales-over-12-Months-in-a-Chart/m-p/3578943#M138023</link>
      <description>&lt;P&gt;Here's a step-by-step guide:&lt;/P&gt;&lt;H3&gt;Step 1: Create a Date Table&lt;/H3&gt;&lt;P&gt;Power BI generally works well when you have a date table. If you don't already have a date table, you can create one. You can use the "Enter Data" option to manually input a date range that covers the period you are interested in. Alternatively, you can import a date table from your data source.&lt;/P&gt;&lt;H3&gt;Step 2: Create a Revenue Table&lt;/H3&gt;&lt;P&gt;Create a table with columns for Account Name, Deal Amount, and Close Date. For each account, enter the deal amount and the close date. It would be best to have one row for each account for each month that the revenue is allocated.&lt;/P&gt;&lt;H3&gt;Step 3: Merge Date and Revenue Tables&lt;/H3&gt;&lt;P&gt;Merge the Date table and the Revenue table based on the close date. This way, you'll have a single table with all the necessary information.&lt;/P&gt;&lt;H3&gt;Step 4: Calculate Allocated Revenue&lt;/H3&gt;&lt;P&gt;Create a new column in the merged table to calculate the allocated revenue for each month. You can use a formula similar to the one below:&lt;/P&gt;&lt;P&gt;DAX:&lt;/P&gt;&lt;P&gt;Allocated Revenue = [Deal Amount] / 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;Step 5: Create a Chart&lt;/H3&gt;&lt;P&gt;Now, you can create a chart using the Account Name and the Allocated Revenue columns. You can use a line chart or an area chart to visualize the revenue over the months.&lt;/P&gt;&lt;H3&gt;Step 6: Apply Filters&lt;/H3&gt;&lt;P&gt;To allow filtering by region or other criteria, you can use slicers. Create slicers for the relevant columns (e.g., Region) and connect them to the charts.&lt;/P&gt;&lt;H3&gt;Step 7: Explore in Power BI&lt;/H3&gt;&lt;P&gt;Publish your report to the Power BI service to share it with others or to schedule data refreshes if your data is regularly updated.&lt;/P&gt;&lt;H3&gt;Example DAX Measures&lt;/H3&gt;&lt;P&gt;Here are some DAX measures you might find useful:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX:&lt;/P&gt;&lt;P&gt;Total Allocated Revenue = SUM('YourTable'[Allocated Revenue])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This measure gives you the total allocated revenue for the selected period.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DAX:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Monthly Allocated Revenue = SUMX(VALUES('Date'[Month]), [Allocated Revenue])&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This measure gives you the monthly allocated revenue.&lt;/P&gt;&lt;P&gt;Adjust these measures based on your specific requirements and data model. I hope this helps!&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 05:20:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Calculation-1-Month-Sales-over-12-Months-in-a-Chart/m-p/3578943#M138023</guid>
      <dc:creator>123abc</dc:creator>
      <dc:date>2023-12-12T05:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Calculation - 1 Month Sales over 12 Months in a Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Calculation-1-Month-Sales-over-12-Months-in-a-Chart/m-p/3578944#M138024</link>
      <description>&lt;P&gt;Here's a step-by-step guide:&lt;/P&gt;&lt;H3&gt;Step 1: Create a Date Table&lt;/H3&gt;&lt;P&gt;Power BI generally works well when you have a date table. If you don't already have a date table, you can create one. You can use the "Enter Data" option to manually input a date range that covers the period you are interested in. Alternatively, you can import a date table from your data source.&lt;/P&gt;&lt;H3&gt;Step 2: Create a Revenue Table&lt;/H3&gt;&lt;P&gt;Create a table with columns for Account Name, Deal Amount, and Close Date. For each account, enter the deal amount and the close date. It would be best to have one row for each account for each month that the revenue is allocated.&lt;/P&gt;&lt;H3&gt;Step 3: Merge Date and Revenue Tables&lt;/H3&gt;&lt;P&gt;Merge the Date table and the Revenue table based on the close date. This way, you'll have a single table with all the necessary information.&lt;/P&gt;&lt;H3&gt;Step 4: Calculate Allocated Revenue&lt;/H3&gt;&lt;P&gt;Create a new column in the merged table to calculate the allocated revenue for each month. You can use a formula similar to the one below:&lt;/P&gt;&lt;P&gt;DAX:&lt;/P&gt;&lt;P&gt;Allocated Revenue = [Deal Amount] / 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;Step 5: Create a Chart&lt;/H3&gt;&lt;P&gt;Now, you can create a chart using the Account Name and the Allocated Revenue columns. You can use a line chart or an area chart to visualize the revenue over the months.&lt;/P&gt;&lt;H3&gt;Step 6: Apply Filters&lt;/H3&gt;&lt;P&gt;To allow filtering by region or other criteria, you can use slicers. Create slicers for the relevant columns (e.g., Region) and connect them to the charts.&lt;/P&gt;&lt;H3&gt;Step 7: Explore in Power BI&lt;/H3&gt;&lt;P&gt;Publish your report to the Power BI service to share it with others or to schedule data refreshes if your data is regularly updated.&lt;/P&gt;&lt;H3&gt;Example DAX Measures&lt;/H3&gt;&lt;P&gt;Here are some DAX measures you might find useful:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX:&lt;/P&gt;&lt;P&gt;Total Allocated Revenue = SUM('YourTable'[Allocated Revenue])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This measure gives you the total allocated revenue for the selected period.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DAX:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Monthly Allocated Revenue = SUMX(VALUES('Date'[Month]), [Allocated Revenue])&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This measure gives you the monthly allocated revenue.&lt;/P&gt;&lt;P&gt;Adjust these measures based on your specific requirements and data model. I hope this helps!&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 05:20:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Calculation-1-Month-Sales-over-12-Months-in-a-Chart/m-p/3578944#M138024</guid>
      <dc:creator>123abc</dc:creator>
      <dc:date>2023-12-12T05:20:13Z</dc:date>
    </item>
  </channel>
</rss>

