<?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: Calculate the actual weight in a single unit of measurement in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-actual-weight-in-a-single-unit-of-measurement/m-p/2179762#M50708</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="315278" data-lia-user-login="VahidDM" class="lia-mention lia-mention-user"&gt;VahidDM&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks, this is a good solution.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Nov 2021 07:06:54 GMT</pubDate>
    <dc:creator>DimaMD</dc:creator>
    <dc:date>2021-11-09T07:06:54Z</dc:date>
    <item>
      <title>Calculate the actual weight in a single unit of measurement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-actual-weight-in-a-single-unit-of-measurement/m-p/2178419#M50679</link>
      <description>&lt;P&gt;Hello my friends! Need your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 1 table, which consists of following collums: units (shops), product quantity, ID product; and second table: ID product, Weight&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From 1 table we have already counted quantity of goods per unit.&lt;/P&gt;&lt;P&gt;The task is to count final quantity of goods in one unit (kg), while we have several of them. We need to do this by multiply quantity of goods (counted from 1 table) and weight (from table 2) that meets ID of product unit (from table 1).&lt;/P&gt;&lt;P&gt;We were able to accomplish that, but the problem is we have some units, that dont have weights, but in the same time we need to count quantity of them as well.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in result we need to see (as in example) 9374,02 in units "pych." and 1739 in units "pack", the summary must be 9374,02+1739=11113&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://drive.google.com/file/d/1efk7ONOs1xdSw13Lknamzt26GU5yCVwO/view?usp=sharing" target="_self"&gt;Exempl PBX&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 15:27:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-actual-weight-in-a-single-unit-of-measurement/m-p/2178419#M50679</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2021-11-08T15:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the actual weight in a single unit of measurement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-actual-weight-in-a-single-unit-of-measurement/m-p/2179016#M50691</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this measure:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;KG = if(ISBLANK([Weight]),[Quantity of goods],[prod.Quantity]*[WeightKG])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&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;&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;STRONG&gt;accepting&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;it as the solution&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 23:01:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-actual-weight-in-a-single-unit-of-measurement/m-p/2179016#M50691</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-11-08T23:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the actual weight in a single unit of measurement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-actual-weight-in-a-single-unit-of-measurement/m-p/2179762#M50708</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="315278" data-lia-user-login="VahidDM" class="lia-mention lia-mention-user"&gt;VahidDM&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks, this is a good solution.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 07:06:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-actual-weight-in-a-single-unit-of-measurement/m-p/2179762#M50708</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2021-11-09T07:06:54Z</dc:date>
    </item>
  </channel>
</rss>

