<?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 % Based on Grand Total of the category in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-Grand-Total-of-the-category/m-p/1552236#M30721</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am hoping to get some directions as to how to calculate % planned and actual based on certain point of time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;I want the slicer to show the calculation in % based on the specified time. So, for example based on the &lt;A href="https://drive.google.com/file/d/1yHEO8wUxgbFTIZYFokuCt0VaM-BMKcBp/view?usp=sharing" target="_self"&gt;sample data&lt;/A&gt; (attached) if the Slicer is set for July. I want planned to show 33% for Emp 1 and actual to show 67% for Emp 1.&lt;/P&gt;&lt;P&gt;I was able to get that for planned using the RELATED function. But, I am unable to replicate that for the actuals as it's keep giving me circular reference error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to fix it or is there a better way to do it?&lt;/P&gt;&lt;P&gt;I have attached my sample &lt;A href="https://drive.google.com/file/d/1zhR3sQZBIwduYcZ0flXhaYLfjuwQ09qS/view?usp=sharing" target="_self"&gt;.pbix&lt;/A&gt; file too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for the help.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Dec 2020 21:44:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-12-15T21:44:57Z</dc:date>
    <item>
      <title>% Based on Grand Total of the category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-Grand-Total-of-the-category/m-p/1552236#M30721</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am hoping to get some directions as to how to calculate % planned and actual based on certain point of time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;I want the slicer to show the calculation in % based on the specified time. So, for example based on the &lt;A href="https://drive.google.com/file/d/1yHEO8wUxgbFTIZYFokuCt0VaM-BMKcBp/view?usp=sharing" target="_self"&gt;sample data&lt;/A&gt; (attached) if the Slicer is set for July. I want planned to show 33% for Emp 1 and actual to show 67% for Emp 1.&lt;/P&gt;&lt;P&gt;I was able to get that for planned using the RELATED function. But, I am unable to replicate that for the actuals as it's keep giving me circular reference error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to fix it or is there a better way to do it?&lt;/P&gt;&lt;P&gt;I have attached my sample &lt;A href="https://drive.google.com/file/d/1zhR3sQZBIwduYcZ0flXhaYLfjuwQ09qS/view?usp=sharing" target="_self"&gt;.pbix&lt;/A&gt; file too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 21:44:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-Grand-Total-of-the-category/m-p/1552236#M30721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-15T21:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: % Based on Grand Total of the category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-Grand-Total-of-the-category/m-p/1552891#M30734</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Try a measure like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Planned % Measure = DIVIDE([CompletedCount],[PlannedCount])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find the file attached after signature&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 07:11:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-Grand-Total-of-the-category/m-p/1552891#M30734</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-12-16T07:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: % Based on Grand Total of the category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-Grand-Total-of-the-category/m-p/1557149#M30871</link>
      <description>&lt;P&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;, thank you for your response. Unfortunately it didn't help me fix the issue as at times when the completion was higher than the planned for the particular month it was showing a % higher than 100 where as what I was looking for is a % based on YTD planned. But, I was able to find a way to find the solution using a different method listed below&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 16:57:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-Grand-Total-of-the-category/m-p/1557149#M30871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-17T16:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: % Based on Grand Total of the category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-Grand-Total-of-the-category/m-p/1557166#M30872</link>
      <description>&lt;P&gt;The way I got around to fixing this is by&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Creating a &lt;STRONG&gt;column&lt;/STRONG&gt; in the relevant table to get the &lt;STRONG&gt;total count&lt;/STRONG&gt;&amp;nbsp;using &lt;STRONG&gt;Earlier function&lt;/STRONG&gt; based on the category you want. In my case it was the total count by employee&lt;/P&gt;&lt;P&gt;Total Count = Calculate(Count)('Your table name'[Column name]), Filter(Your table name'[Column name]=Earlier(Your table name'[Column name])))&lt;/P&gt;&lt;P&gt;2) Use the Max function to find the max count by employee&lt;/P&gt;&lt;P&gt;3) Use Divide function to get the % at the point in time with the denominator being the Grand Total&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 17:03:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-Grand-Total-of-the-category/m-p/1557166#M30872</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-17T17:03:25Z</dc:date>
    </item>
  </channel>
</rss>

