<?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 DAX to calculate sales targets based on different granularity in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-calculate-sales-targets-based-on-different-granularity/m-p/3160585#M156783</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I would like to calculate sales targets but have different granularity inputs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Management sets a monthly sales target per salesperson = SalesTarget [Amount] and SalesTarget [CalendarMonth]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each salesperson sets their monthly sales activities by % per each month = person 1 will have 50% in week 1, 25% in week 3 and 25% in week4 of a certain month, person 2 will have 25% x all 4 weeks of a certain month, person 3 will have 20% in week 1 and 80% in week 4 of a certain month, etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a star schema with all input tables connected to the date reference table and salesperson reference table. Calculation should be monthly sales target x salesperson weekly split for each month. Excel would be easy to write but how do I direct DAX to take the month's target and split it by each salespersons' %?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current calculation gives me only the first week: Sales Amount Per Week = CALCULATE([Sales Target by Month]*[Salesperson%Split], ALL(CalendarReference[WeekofYear]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2023 10:45:28 GMT</pubDate>
    <dc:creator>lauralovesBI</dc:creator>
    <dc:date>2023-03-29T10:45:28Z</dc:date>
    <item>
      <title>DAX to calculate sales targets based on different granularity</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-calculate-sales-targets-based-on-different-granularity/m-p/3160585#M156783</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I would like to calculate sales targets but have different granularity inputs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Management sets a monthly sales target per salesperson = SalesTarget [Amount] and SalesTarget [CalendarMonth]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each salesperson sets their monthly sales activities by % per each month = person 1 will have 50% in week 1, 25% in week 3 and 25% in week4 of a certain month, person 2 will have 25% x all 4 weeks of a certain month, person 3 will have 20% in week 1 and 80% in week 4 of a certain month, etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a star schema with all input tables connected to the date reference table and salesperson reference table. Calculation should be monthly sales target x salesperson weekly split for each month. Excel would be easy to write but how do I direct DAX to take the month's target and split it by each salespersons' %?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current calculation gives me only the first week: Sales Amount Per Week = CALCULATE([Sales Target by Month]*[Salesperson%Split], ALL(CalendarReference[WeekofYear]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 10:45:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-calculate-sales-targets-based-on-different-granularity/m-p/3160585#M156783</guid>
      <dc:creator>lauralovesBI</dc:creator>
      <dc:date>2023-03-29T10:45:28Z</dc:date>
    </item>
  </channel>
</rss>

