<?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: Calculation of values within same column based on category of another column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-values-within-same-column-based-on-category-of/m-p/2054798#M46275</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="323791" data-lia-user-login="sk007" class="lia-mention lia-mention-user"&gt;sk007&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a measure, add Period on a table visual and this measure. Replace table with your table name&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Collection Ratio=
DIVIDE (
    CALCULATE ( SUM ( table[collection] ), table[data] = "End" ),
    CALCULATE ( SUM ( table[collection] ), table[data] = "Beginning" )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Sep 2021 17:42:19 GMT</pubDate>
    <dc:creator>Fowmy</dc:creator>
    <dc:date>2021-09-02T17:42:19Z</dc:date>
    <item>
      <title>Calculation of values within same column based on category of another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-values-within-same-column-based-on-category-of/m-p/2054784#M46274</link>
      <description>&lt;P&gt;I have data like this. I would like to create a new column (Collection_Ratio) calculating the Collection by using this formula:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1-(End/Beginning). &lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is the result that I want to have:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;How can I achieve this? Please don't mind if this is a simple question. I am new to PowerBI. Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 17:37:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-values-within-same-column-based-on-category-of/m-p/2054784#M46274</guid>
      <dc:creator>sk007</dc:creator>
      <dc:date>2021-09-02T17:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of values within same column based on category of another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-values-within-same-column-based-on-category-of/m-p/2054798#M46275</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="323791" data-lia-user-login="sk007" class="lia-mention lia-mention-user"&gt;sk007&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a measure, add Period on a table visual and this measure. Replace table with your table name&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Collection Ratio=
DIVIDE (
    CALCULATE ( SUM ( table[collection] ), table[data] = "End" ),
    CALCULATE ( SUM ( table[collection] ), table[data] = "Beginning" )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 17:42:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-values-within-same-column-based-on-category-of/m-p/2054798#M46275</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2021-09-02T17:42:19Z</dc:date>
    </item>
  </channel>
</rss>

