<?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: % of column total for measure in formula for calculation group in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-column-total-for-measure-in-formula-for-calculation-group/m-p/2731300#M83651</link>
    <description>&lt;P&gt;Hi&amp;nbsp; Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I created some data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 2 =
DIVIDE(
COUNTX(FILTER(ALLSELECTED('Table'),'Table'[CONTR ACCOUNT Period]=MAX('Table'[CONTR ACCOUNT Period])&amp;amp;&amp;amp;'Table'[Group]=MAX('Table'[Group])),[Amount]),
COUNTX(ALL('Table'),[Amount]))&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need pbix, please click here.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://m365x97431909-my.sharepoint.com/:u:/g/personal/ly_m365x97431909_onmicrosoft_com/EV9AEVfSAdhHiG9vqpLFdvMBBe9uzLv_NcycQrCO2xDPNg?e=5gLhjM" target="_blank"&gt;&lt;SPAN&gt;% of column total for measure in formula for calculation group.pbix&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I have misunderstood your meaning, please provide your desired output and your pbix without privacy information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 02:51:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-08-29T02:51:31Z</dc:date>
    <item>
      <title>% of column total for measure in formula for calculation group</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-column-total-for-measure-in-formula-for-calculation-group/m-p/2727175#M83425</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me or indicate me if there is a way to get the % of column total for a measure based in calculation group and calculation items for 2 different months as following:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I need a formula to get the same value that % of column total is getting but since it is calculation group I am having a hard time,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 21:13:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-column-total-for-measure-in-formula-for-calculation-group/m-p/2727175#M83425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-25T21:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: % of column total for measure in formula for calculation group</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-column-total-for-measure-in-formula-for-calculation-group/m-p/2731300#M83651</link>
      <description>&lt;P&gt;Hi&amp;nbsp; Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I created some data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 2 =
DIVIDE(
COUNTX(FILTER(ALLSELECTED('Table'),'Table'[CONTR ACCOUNT Period]=MAX('Table'[CONTR ACCOUNT Period])&amp;amp;&amp;amp;'Table'[Group]=MAX('Table'[Group])),[Amount]),
COUNTX(ALL('Table'),[Amount]))&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need pbix, please click here.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://m365x97431909-my.sharepoint.com/:u:/g/personal/ly_m365x97431909_onmicrosoft_com/EV9AEVfSAdhHiG9vqpLFdvMBBe9uzLv_NcycQrCO2xDPNg?e=5gLhjM" target="_blank"&gt;&lt;SPAN&gt;% of column total for measure in formula for calculation group.pbix&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I have misunderstood your meaning, please provide your desired output and your pbix without privacy information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 02:51:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-column-total-for-measure-in-formula-for-calculation-group/m-p/2731300#M83651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-29T02:51:31Z</dc:date>
    </item>
  </channel>
</rss>

