<?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: Stretch targets that total to KPI in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stretch-targets-that-total-to-KPI/m-p/3664379#M142029</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177566" data-lia-user-login="speedramps" class="lia-mention lia-mention-user"&gt;speedramps&lt;/a&gt;&amp;nbsp;- I think in trying to be clear I ended up not being. So let's try again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the file below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://we.tl/t-UmX3rPiEcv" target="_blank"&gt;https://we.tl/t-UmX3rPiEcv&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have the&amp;nbsp;1 Row per team:&lt;/P&gt;&lt;P&gt;With the columns&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Team&lt;/STRONG&gt;: A teams name&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Department&lt;/STRONG&gt;: The department the teams sit under&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Business&lt;/STRONG&gt;: The business the departments sit under&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Headcount&lt;/STRONG&gt;: How many people in each Team.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CurrentTalent&lt;/STRONG&gt;: How many in each team are identified as talent&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TargetTalent_For25%&lt;/STRONG&gt;: This is the value each team needs to achieve which rounds up to a business target of 25%&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TargetTalent_ForSharing&lt;/STRONG&gt;: This is the value I would like to use to calculate the % in visuals per team&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%Target&lt;/STRONG&gt;: this is the % target I would actually see in a visual - I would calculate this with DAX just here for clarity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to achieve is:&lt;/P&gt;&lt;P&gt;When using the [TargetTalent_ForSharing] data points each team will see the relevant % (form a measure) however using these values the business target would come out at 35%.&lt;/P&gt;&lt;P&gt;I want the &lt;U&gt;business target &lt;/U&gt;(or the grand total) to always be 25% regardless of what the values of the team total to, when using [TargetTalent_ForSharing].&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when someone expands a matrix table or drills down in a graph though, I want them to see the % generated by using the [TargetTalent_ForSharing] data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;% calcuated by DIVIDE(SUMX(TargetTalent_ForSharing),SUMX(Headcount),0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In super simple terms I want to force the total to always = 25% regardless of what the actual team values are.&lt;/P&gt;</description>
    <pubDate>Sat, 27 Jan 2024 20:51:22 GMT</pubDate>
    <dc:creator>EWBWEBB</dc:creator>
    <dc:date>2024-01-27T20:51:22Z</dc:date>
    <item>
      <title>Stretch targets that total to KPI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stretch-targets-that-total-to-KPI/m-p/3662641#M141931</link>
      <description>&lt;P&gt;I'm trying to share KPI figures with my business around workforce %. So what % of the business is considered talent or has had a promotion etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have an overall business target of, lets say, 25% of the workforce is ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In simple terms&lt;/P&gt;&lt;P&gt;The business has 1000 people&lt;/P&gt;&lt;P&gt;There are 10 departments with 100 people in each&lt;/P&gt;&lt;P&gt;Each department has 10 teams with 10 people in each&lt;/P&gt;&lt;P&gt;So 2.5 in each team should be...&lt;/P&gt;&lt;P&gt;Rolled up in a visual this means 250 people to achieve target.&lt;/P&gt;&lt;P&gt;What I would like to do is stretch this so each department has a target of 30% but when displayed in a visual the overall target shows as 25%. So should a team miss the KPI they are looking at by a small margin, business still achieves target.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I always want the business target to remain at 25% and report performance against that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Link below to example file&lt;/P&gt;&lt;P&gt;&lt;A href="https://we.tl/t-zFnnbbfFm5" target="_blank"&gt;https://we.tl/t-zFnnbbfFm5&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would hope to achieve this with DAX and would want to apply to range of visuals (most likely bar/line/matrix/card)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will have all the data in a table with raw values for total heads and count to calculate the perctages, 1 row per team.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on how to achieve this?&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>Fri, 26 Jan 2024 11:51:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stretch-targets-that-total-to-KPI/m-p/3662641#M141931</guid>
      <dc:creator>EWBWEBB</dc:creator>
      <dc:date>2024-01-26T11:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Stretch targets that total to KPI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stretch-targets-that-total-to-KPI/m-p/3664209#M142023</link>
      <description>&lt;P&gt;We want to help you but your description is too vaugue. Please write it again clearly.&lt;/P&gt;&lt;P&gt;Remeber we are Power BI experts and want to help but dont know what you want your reports to do.&lt;/P&gt;&lt;P&gt;Explain clearly which columns are targets and which are actuals and their context level.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please just give a simple non technical functional decscription of what you want, then let us suggest the solution. Thank you.&lt;/P&gt;&lt;P&gt;Provide example input data as table text (not a screen print) so we can import the data to build a solution for you.&lt;/P&gt;&lt;P&gt;Remove any unneeded columns which may cause confussion.&lt;/P&gt;&lt;P&gt;Rename columns to user friendly names.&lt;BR /&gt;Also provide the example desired output, with a clear description of the process flow.&lt;BR /&gt;Remember not to share private data ... we don't want you to get into trouble. &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt;&lt;BR /&gt;Take time and care to use the same table and field names in the input, output and description so we can understand your problem and help you.&lt;BR /&gt;Try keep it simple and ask one question per ticket.&lt;BR /&gt;You will get a quick response if you put time, care and effort into writing clear problem descriptions.&lt;BR /&gt;Remember you are gerrting free expert help, so please put lots of proper effort to asking questions and providing example.&lt;/P&gt;&lt;P&gt;Vaugue descriptions can waste your time and ourtime.&lt;/P&gt;&lt;P&gt;Look foward to helping you when the above information is forthcoming&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 15:12:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stretch-targets-that-total-to-KPI/m-p/3664209#M142023</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2024-01-27T15:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Stretch targets that total to KPI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stretch-targets-that-total-to-KPI/m-p/3664379#M142029</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177566" data-lia-user-login="speedramps" class="lia-mention lia-mention-user"&gt;speedramps&lt;/a&gt;&amp;nbsp;- I think in trying to be clear I ended up not being. So let's try again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the file below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://we.tl/t-UmX3rPiEcv" target="_blank"&gt;https://we.tl/t-UmX3rPiEcv&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have the&amp;nbsp;1 Row per team:&lt;/P&gt;&lt;P&gt;With the columns&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Team&lt;/STRONG&gt;: A teams name&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Department&lt;/STRONG&gt;: The department the teams sit under&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Business&lt;/STRONG&gt;: The business the departments sit under&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Headcount&lt;/STRONG&gt;: How many people in each Team.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CurrentTalent&lt;/STRONG&gt;: How many in each team are identified as talent&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TargetTalent_For25%&lt;/STRONG&gt;: This is the value each team needs to achieve which rounds up to a business target of 25%&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TargetTalent_ForSharing&lt;/STRONG&gt;: This is the value I would like to use to calculate the % in visuals per team&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%Target&lt;/STRONG&gt;: this is the % target I would actually see in a visual - I would calculate this with DAX just here for clarity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to achieve is:&lt;/P&gt;&lt;P&gt;When using the [TargetTalent_ForSharing] data points each team will see the relevant % (form a measure) however using these values the business target would come out at 35%.&lt;/P&gt;&lt;P&gt;I want the &lt;U&gt;business target &lt;/U&gt;(or the grand total) to always be 25% regardless of what the values of the team total to, when using [TargetTalent_ForSharing].&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when someone expands a matrix table or drills down in a graph though, I want them to see the % generated by using the [TargetTalent_ForSharing] data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;% calcuated by DIVIDE(SUMX(TargetTalent_ForSharing),SUMX(Headcount),0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In super simple terms I want to force the total to always = 25% regardless of what the actual team values are.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 20:51:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stretch-targets-that-total-to-KPI/m-p/3664379#M142029</guid>
      <dc:creator>EWBWEBB</dc:creator>
      <dc:date>2024-01-27T20:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Stretch targets that total to KPI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stretch-targets-that-total-to-KPI/m-p/3664998#M142059</link>
      <description>&lt;P&gt;Please try this solution ...&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AgMTUY3Uvq3bg8x1qrPE8uMXqtDpEQ?e=G4TesT" target="_self"&gt;Click here to download PBIX from Onedrive&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does EXACTLY what you asked for&lt;/P&gt;&lt;P&gt;"I want the business target (or the grand total) to always be 25% ... but when someone expands a matrix table or drills down in a graph though, I want them to see the % generated by using the [TargetTalent_ForSharing] data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want somethings different then please politely quickly accept this solution (because I have done what was asked) and raise a new ticket with clear description and examples of what you wants. If you quote&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177566" data-lia-user-login="speedramps" class="lia-mention lia-mention-user"&gt;speedramps&lt;/a&gt; in your new ticket then I will receive an automated notification and will be happy to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How it works ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;use the ISFILTERED command to output 25 on the grand total&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Answer = 
IF(ISFILTERED(yourdata[Business]),
SUM(yourdata[TargetTalent_ForSharing]),
25
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&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;</description>
      <pubDate>Sun, 28 Jan 2024 21:17:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stretch-targets-that-total-to-KPI/m-p/3664998#M142059</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2024-01-28T21:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Stretch targets that total to KPI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stretch-targets-that-total-to-KPI/m-p/3670142#M142342</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177566" data-lia-user-login="speedramps" class="lia-mention lia-mention-user"&gt;speedramps&lt;/a&gt;&amp;nbsp;this does meet the brief.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Although as with many things, when reviewing realised I hadn't accounted for the behaviours of this in the visual (part of the learning curve).&lt;BR /&gt;&lt;BR /&gt;But your solution did get me to follow through in understanding the question I needed to ask.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 11:34:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stretch-targets-that-total-to-KPI/m-p/3670142#M142342</guid>
      <dc:creator>EWBWEBB</dc:creator>
      <dc:date>2024-01-31T11:34:48Z</dc:date>
    </item>
  </channel>
</rss>

