<?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: Win Rate in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2420495#M64093</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="336315" data-lia-user-login="Hadill" class="lia-mention lia-mention-user"&gt;Hadill&lt;/a&gt; , Create those as measure and show on row like Booked, lost and Win % etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or use winrate in grand total using isinscope&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2022 06:26:12 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-03-28T06:26:12Z</dc:date>
    <item>
      <title>Win Rate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2411650#M63538</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;I have a table with the 'Sales Information', includes the follwing columns:&lt;/P&gt;&lt;P&gt;[Deal Status] -&amp;gt; Active, Signed, Abondend, Booked, Lost.&lt;/P&gt;&lt;P&gt;[Deal value] -&amp;gt; Numeric Data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to add a new column [Win Rate] applying the logic of: Win Rate = won deals value/ won deals value+ lost deals value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which function should I use for this and how should I write it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 08:51:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2411650#M63538</guid>
      <dc:creator>Hadill</dc:creator>
      <dc:date>2022-03-23T08:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Win Rate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2411806#M63550</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="336315" data-lia-user-login="Hadill" class="lia-mention lia-mention-user"&gt;Hadill&lt;/a&gt; , where are these values &lt;/P&gt;
&lt;P&gt;won deals value/ won deals value+ lost deals&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Can you share sample data and sample output in table format? &lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 09:40:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2411806#M63550</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-23T09:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Win Rate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2412211#M63574</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;, thanks for replying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By &lt;STRONG&gt;Won&amp;nbsp;Deals&lt;/STRONG&gt; &lt;STRONG&gt;value&lt;/STRONG&gt; i mean the sum of the deal values that corresponds &lt;STRONG&gt;Booked&lt;/STRONG&gt; status.&lt;/P&gt;&lt;P&gt;And the same for &lt;STRONG&gt;Lost Deals&lt;/STRONG&gt; &lt;STRONG&gt;value&lt;/STRONG&gt;, corresponds &lt;STRONG&gt;Lost&lt;/STRONG&gt; status.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it should be : win rate= sum of [deal value] for the &lt;STRONG&gt;booked&lt;/STRONG&gt; [deal status]/sum of [deal value] for the &lt;STRONG&gt;booked&lt;/STRONG&gt; [deal status]+sum of [deal value] for the &lt;STRONG&gt;Lost&lt;/STRONG&gt; [deal status].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example of the columns:&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Deal value&lt;/TD&gt;&lt;TD&gt;Deal status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;Booked&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1000&lt;/TD&gt;&lt;TD&gt;Abounded&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;Booked&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1500&lt;/TD&gt;&lt;TD&gt;Lost&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2000&lt;/TD&gt;&lt;TD&gt;Lost&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1500&lt;/TD&gt;&lt;TD&gt;Abounded&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4000&lt;/TD&gt;&lt;TD&gt;signed&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it is more clear now&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 12:00:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2412211#M63574</guid>
      <dc:creator>Hadill</dc:creator>
      <dc:date>2022-03-23T12:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Win Rate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2413840#M63686</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="336315" data-lia-user-login="Hadill" class="lia-mention lia-mention-user"&gt;Hadill&lt;/a&gt; , Try a measure like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Divide( Calculate(Sum(Table[Deal Amount] ), Filter(Table, Table[Status] ="Booked")) ,Calculate(Sum(Table[Deal Amount] ), Filter(Table, Table[Status] in{"Booked","Lost"} )))&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 03:10:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2413840#M63686</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-24T03:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Win Rate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2414186#M63699</link>
      <description>&lt;P&gt;Great!&amp;nbsp; it looks better now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I missed to mention that every deal has a specific date, and I need the data to be appered on the report by quarter!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following example is exsactly what I want to show in my report:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Q1&lt;/TD&gt;&lt;TD&gt;Q2&lt;/TD&gt;&lt;TD&gt;Q3&lt;/TD&gt;&lt;TD&gt;Q4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Booked&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Signed&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Lost&lt;/TD&gt;&lt;TD&gt;14&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;TD&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Abounded&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Win Rate&lt;/TD&gt;&lt;TD&gt;42%&lt;/TD&gt;&lt;TD&gt;44%&lt;/TD&gt;&lt;TD&gt;41%&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;44%&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;It is like a summary for the current sales situation and alongside the win rate, all in one matrix.&lt;/P&gt;&lt;P&gt;*Please note that&amp;nbsp;my table already includes a column called [Date by Quater]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your helping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 06:53:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2414186#M63699</guid>
      <dc:creator>Hadill</dc:creator>
      <dc:date>2022-03-24T06:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Win Rate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2420495#M64093</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="336315" data-lia-user-login="Hadill" class="lia-mention lia-mention-user"&gt;Hadill&lt;/a&gt; , Create those as measure and show on row like Booked, lost and Win % etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or use winrate in grand total using isinscope&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 06:26:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2420495#M64093</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-28T06:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Win Rate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2422975#M64277</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="336315" data-lia-user-login="Hadill" class="lia-mention lia-mention-user"&gt;Hadill&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please consider sharing sample data with date column and date by quarter column and desired output.&lt;/P&gt;
&lt;P&gt;It makes it easier to give you a solution.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Sample (dummy dataset) data as text, use the table tool in the editing bar&lt;/LI&gt;
&lt;LI&gt;Expected output from sample data&lt;/LI&gt;
&lt;LI&gt;Explanation in words of how to get from 1. to 2.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Zeon Zheng&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 03:06:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Win-Rate/m-p/2422975#M64277</guid>
      <dc:creator>v-angzheng-msft</dc:creator>
      <dc:date>2022-03-29T03:06:17Z</dc:date>
    </item>
  </channel>
</rss>

