<?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 calculate target by data? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-target-by-data/m-p/2877831#M93037</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need your help to set the targets for the upcoming months (Oct 2022- SEPT 2023) BASED on the historical data,&amp;nbsp; I have the historical data from 2019 to 2022, so we go like Oct 2020-Sept 2021, Oct 2021-Sept 2022, Oct 2022-Sept 2023(I want to set the targets for these months) for 80 different programs or categories.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is There any formula or any Dax function available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will highly appreciate the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 01 Nov 2022 16:55:41 GMT</pubDate>
    <dc:creator>Harpreet1405_12</dc:creator>
    <dc:date>2022-11-01T16:55:41Z</dc:date>
    <item>
      <title>How to calculate target by data?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-target-by-data/m-p/1186637#M18668</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How i can calculate the target corresponding to the date and group?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="Files" href="https://1drv.ms/u/s!As-s3TNexQ8TipkPATGyYTW6Fbr-qA?e=gLg3Ev  " target="_self"&gt;https://1drv.ms/u/s!As-s3TNexQ8TipkPATGyYTW6Fbr-qA?e=gLg3Ev &lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 15:36:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-target-by-data/m-p/1186637#M18668</guid>
      <dc:creator>eraldo_DP</dc:creator>
      <dc:date>2020-06-27T15:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate target by data?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-target-by-data/m-p/1186650#M18671</link>
      <description>&lt;P&gt;You will have to explain more, not sure what you are trying to do.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 16:09:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-target-by-data/m-p/1186650#M18671</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2020-06-27T16:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate target by data?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-target-by-data/m-p/1186841#M18680</link>
      <description>&lt;P&gt;I need returne in columm "Target_Conversation" the target active for the period. Example, in table "Target" have the columm name "Group" and others columns with Start date and End date for the group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the "Group1" has 6% of Target with start 2020/04/01 and finish in 2020/04/05, i need return the value Target active for date for comparison the value realized and value projected&lt;img /&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 22:21:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-target-by-data/m-p/1186841#M18680</guid>
      <dc:creator>eraldo_DP</dc:creator>
      <dc:date>2020-06-27T22:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate target by data?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-target-by-data/m-p/1187245#M18699</link>
      <description>&lt;P&gt;Here is a measure expression that returns the Target for the Date and Group on that row of the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;GroupDate Target =
VAR __thisdate =
    SELECTEDVALUE ( Sales[Date] )
VAR __thisGroup =
    SELECTEDVALUE ( Sales[Group] )
RETURN
    CALCULATE (
        MAX ( Target[Target Conversation] ),
        ALL ( Target ),
        Target[StartDate] &amp;lt;= __thisdate,
        Target[EndDate] &amp;gt;= __thisdate,
        Target[Group] = __thisGroup
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this works for you, please mark it as the solution.&amp;nbsp; Kudos are appreciated too.&amp;nbsp; Please let me know if not.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jun 2020 13:34:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-target-by-data/m-p/1187245#M18699</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-06-28T13:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate target by data?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-target-by-data/m-p/1190476#M18808</link>
      <description>&lt;P&gt;Perfect, thanks for this solution.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 00:20:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-target-by-data/m-p/1190476#M18808</guid>
      <dc:creator>eraldo_DP</dc:creator>
      <dc:date>2020-06-30T00:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate target by data?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-target-by-data/m-p/2877831#M93037</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need your help to set the targets for the upcoming months (Oct 2022- SEPT 2023) BASED on the historical data,&amp;nbsp; I have the historical data from 2019 to 2022, so we go like Oct 2020-Sept 2021, Oct 2021-Sept 2022, Oct 2022-Sept 2023(I want to set the targets for these months) for 80 different programs or categories.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is There any formula or any Dax function available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will highly appreciate the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 16:55:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-target-by-data/m-p/2877831#M93037</guid>
      <dc:creator>Harpreet1405_12</dc:creator>
      <dc:date>2022-11-01T16:55:41Z</dc:date>
    </item>
  </channel>
</rss>

