<?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: Percentage of products from materials in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-products-from-materials/m-p/2266098#M54926</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="24978" data-lia-user-login="smpa01" class="lia-mention lia-mention-user"&gt;smpa01&lt;/a&gt;&amp;nbsp;Hi,&lt;BR /&gt;Thank you for helping to understand how to calculate, I am very grateful to you.&lt;BR /&gt;The measures worked&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jan 2022 19:39:30 GMT</pubDate>
    <dc:creator>DimaMD</dc:creator>
    <dc:date>2022-01-04T19:39:30Z</dc:date>
    <item>
      <title>Percentage of products from materials</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-products-from-materials/m-p/2266076#M54920</link>
      <description>&lt;P&gt;Hello community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to make some interesting calculations&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a table which consists of ready products and materials.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal is to calculate percentage of ready products that contains in materials. For that reason we need to calculate total ammount of materials. Then we need to divide every amount of ready product with total ammount of materials so we could get percentage that has this ready product in materials.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With what mesure can I achive that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://drive.google.com/file/d/13nzRvMDclvNYtzOodFmzH_mcz3JsY8y8/view?usp=sharing" target="_self"&gt;Example pbix&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 19:11:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-products-from-materials/m-p/2266076#M54920</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-01-04T19:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage of products from materials</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-products-from-materials/m-p/2266085#M54921</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;&amp;nbsp;In looking at the PBIX file, I am not sure how to identify which ready products have which materials in them. Or is that not important?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 19:21:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-products-from-materials/m-p/2266085#M54921</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-01-04T19:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage of products from materials</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-products-from-materials/m-p/2266091#M54923</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;&amp;nbsp; change to following&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Material = CALCULATE( SUM('Table'[Amount]), 'Table'[View]="Material",REMOVEFILTERS('Table'[Product],'Table'[Amount]))

RedyProdyct = CALCULATE( SUM('Table'[Amount]),'Table'[View] = "RedyProduct" )

% material = DIVIDE(
    [RedyProdyct],[Material])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;gives you this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 19:27:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-products-from-materials/m-p/2266091#M54923</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2022-01-04T19:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage of products from materials</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-products-from-materials/m-p/2266098#M54926</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="24978" data-lia-user-login="smpa01" class="lia-mention lia-mention-user"&gt;smpa01&lt;/a&gt;&amp;nbsp;Hi,&lt;BR /&gt;Thank you for helping to understand how to calculate, I am very grateful to you.&lt;BR /&gt;The measures worked&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 19:39:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-products-from-materials/m-p/2266098#M54926</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-01-04T19:39:30Z</dc:date>
    </item>
  </channel>
</rss>

