<?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: Calculating percentage by group in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-percentage-by-group/m-p/2817165#M89366</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="192401" data-lia-user-login="v-easonf-msft" class="lia-mention lia-mention-user"&gt;v-easonf-msft&lt;/a&gt;&amp;nbsp; For some reason, it does not work for my steup. I try to reply and attach my .pbix but I get an error that file .pbix is not supported. Not sure if this link will work.&lt;/P&gt;&lt;P&gt;&lt;A href="https://consatdataab-my.sharepoint.com/:u:/g/personal/robert_gauthier_consat_se/EVxWEBBJAU9BkzRFAQUl6-8Byx01oRLaG8IVZxti7Z-1xA?e=eRG0sA" target="_blank"&gt;https://consatdataab-my.sharepoint.com/:u:/g/personal/robert_gauthier_consat_se/EVxWEBBJAU9BkzRFAQUl6-8Byx01oRLaG8IVZxti7Z-1xA?e=eRG0sA&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Oct 2022 14:11:36 GMT</pubDate>
    <dc:creator>ConsatSudbury</dc:creator>
    <dc:date>2022-10-04T14:11:36Z</dc:date>
    <item>
      <title>Calculating percentage by group</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-percentage-by-group/m-p/2812534#M89068</link>
      <description>&lt;P&gt;I need a DAX measure for power bi to calculate the percentage of times each "Journey Name" is "On Time" as opposed to "Late" weighed against itself only.&amp;nbsp; As an example, I have the left table as my data and I need to be ale to get the result in the right table.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 00:05:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-percentage-by-group/m-p/2812534#M89068</guid>
      <dc:creator>ConsatSudbury</dc:creator>
      <dc:date>2022-10-03T00:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating percentage by group</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-percentage-by-group/m-p/2812752#M89074</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="249175" data-lia-user-login="ConsatSudbury" class="lia-mention lia-mention-user"&gt;ConsatSudbury&lt;/a&gt; , You have to create measure like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;divide(Count(Table[Journey Name]), Calculate(Count(Table[Journey Name]), filter(Table, Table[EarlyLate] = "On Time")))&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 02:20:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-percentage-by-group/m-p/2812752#M89074</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-10-03T02:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating percentage by group</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-percentage-by-group/m-p/2813156#M89090</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi，&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="249175" data-lia-user-login="ConsatSudbury" class="lia-mention lia-mention-user"&gt;ConsatSudbury&lt;/a&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;&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;'s formula needs to be adjusted, the denominator needs to be placed above the numerator.&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;% On Time =
DIVIDE (
    CALCULATE (
        COUNT ( 'Table'[Variance] ),
        FILTER ( 'Table', 'Table'[EarlyLate] = "On Time" )
    ),
    COUNT ( 'Table'[Variance] )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 07:25:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-percentage-by-group/m-p/2813156#M89090</guid>
      <dc:creator>v-easonf-msft</dc:creator>
      <dc:date>2022-10-03T07:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating percentage by group</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-percentage-by-group/m-p/2817165#M89366</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="192401" data-lia-user-login="v-easonf-msft" class="lia-mention lia-mention-user"&gt;v-easonf-msft&lt;/a&gt;&amp;nbsp; For some reason, it does not work for my steup. I try to reply and attach my .pbix but I get an error that file .pbix is not supported. Not sure if this link will work.&lt;/P&gt;&lt;P&gt;&lt;A href="https://consatdataab-my.sharepoint.com/:u:/g/personal/robert_gauthier_consat_se/EVxWEBBJAU9BkzRFAQUl6-8Byx01oRLaG8IVZxti7Z-1xA?e=eRG0sA" target="_blank"&gt;https://consatdataab-my.sharepoint.com/:u:/g/personal/robert_gauthier_consat_se/EVxWEBBJAU9BkzRFAQUl6-8Byx01oRLaG8IVZxti7Z-1xA?e=eRG0sA&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 14:11:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-percentage-by-group/m-p/2817165#M89366</guid>
      <dc:creator>ConsatSudbury</dc:creator>
      <dc:date>2022-10-04T14:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating percentage by group</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-percentage-by-group/m-p/2850587#M91346</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="249175" data-lia-user-login="ConsatSudbury" class="lia-mention lia-mention-user"&gt;ConsatSudbury&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have checked the pbix. There is no problem with the formula, you may need to check "show value as no calculation".&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 07:41:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-percentage-by-group/m-p/2850587#M91346</guid>
      <dc:creator>v-easonf-msft</dc:creator>
      <dc:date>2022-10-19T07:41:05Z</dc:date>
    </item>
  </channel>
</rss>

