<?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 create a new measure of % by group in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-new-measure-of-by-group/m-p/985005#M12107</link>
    <description>&lt;P&gt;Here's the full and correct solution. The answer does not lie in DAX. It lies in the data model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://1drv.ms/u/s!ApyQEauTSLtOgYM53H8bs_VEwonrUA?e=1mhVYz" target="_blank"&gt;https://1drv.ms/u/s!ApyQEauTSLtOgYM53H8bs_VEwonrUA?e=1mhVYz&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;</description>
    <pubDate>Sat, 21 Mar 2020 10:25:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-21T10:25:09Z</dc:date>
    <item>
      <title>How to create a new measure of % by group</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-new-measure-of-by-group/m-p/984761#M12094</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I am new to DAX and I believe this is a very simple question to the experts here. I have a survey question that asks customer to respond why they frequent a certain store and they can check multiple reasons. I have two data sets, one having the customer IDs and the reason; the other data file having again customer IDs and the stores they visited.&amp;nbsp; If, for example, we have a total of 10 customers, among them, 8 check location... how to get the percentage based on a total of 10 customers? Please see below the excel table that I would like to create instead in power bi.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The sample data is here to download :&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/open?id=19NYmpV0ulE_Hhla0pCZFFcpFB56mXmI7" target="_blank" rel="noopener"&gt;https://drive.google.com/open?id=19NYmpV0ulE_Hhla0pCZFFcpFB56mXmI7&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance and your help is highly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Laurel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 00:57:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-new-measure-of-by-group/m-p/984761#M12094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-21T00:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new measure of % by group</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-new-measure-of-by-group/m-p/984774#M12096</link>
      <description>&lt;P&gt;Sure,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = DIVIDE(COUNTROWS('Sheet1'),COUNTROWS(DISTINCT(ALL(Sheet2[Customer ID]))),0)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PBIX is attached.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 01:46:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-new-measure-of-by-group/m-p/984774#M12096</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-03-21T01:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new measure of % by group</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-new-measure-of-by-group/m-p/984818#M12098</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for helping out. I look forward to learning from your book. Maybe I haven't explained clear enough in the first post. The exact excel table I look for in power bi is :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;And the measure created gives me the following:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I hope to have the percentage of reasons by stores.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Laurel&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 03:59:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-new-measure-of-by-group/m-p/984818#M12098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-21T03:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new measure of % by group</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-new-measure-of-by-group/m-p/985005#M12107</link>
      <description>&lt;P&gt;Here's the full and correct solution. The answer does not lie in DAX. It lies in the data model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://1drv.ms/u/s!ApyQEauTSLtOgYM53H8bs_VEwonrUA?e=1mhVYz" target="_blank"&gt;https://1drv.ms/u/s!ApyQEauTSLtOgYM53H8bs_VEwonrUA?e=1mhVYz&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 10:25:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-new-measure-of-by-group/m-p/985005#M12107</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-21T10:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new measure of % by group</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-new-measure-of-by-group/m-p/999012#M12627</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp; Thanks! It works and serves the purpose. I was ablto to follow your example and replicate it to my very complex data. There is still a place that doesn't come back to be right though. Also I am wondering if there is way that we can make it work simpler. Will come back to you with more questions. Thanks again for your time!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Great to have the community here to support!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ling&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 17:48:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-new-measure-of-by-group/m-p/999012#M12627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-30T17:48:49Z</dc:date>
    </item>
  </channel>
</rss>

