<?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: Multiplying Single Values by A Measured Column Total in Table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Single-Values-by-A-Measured-Column-Total-in-Table/m-p/736694#M2073</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I understand what you mean. I assume that you have either a product that you are shipping or a ship that is doing the shipping for which you have based the distinct count on? You seem to be missing a column in your table/visualisation. Anyway, if you apply an ALL() filter on that column, would this return you the Distinct Count Total?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if the column that you are applying distinct count on is [ProductCode] then you could use:&lt;/P&gt;&lt;PRE&gt;Overall Average Cost:=CALCULATE([X/Distinct Count (Y)],ALL([ProductCode]))&lt;/PRE&gt;&lt;P&gt;With your Goal column then just multiplying distinct count Y by your overall average cost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think!&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2019 15:37:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-10T15:37:00Z</dc:date>
    <item>
      <title>Multiplying Single Values by A Measured Column Total in Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Single-Values-by-A-Measured-Column-Total-in-Table/m-p/735698#M2022</link>
      <description>&lt;P&gt;I have numeric values (1,2,3,4,etc) in one column, and I want to multiply each of these values by the total of a different, measured column. Is this possible within Power BI?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, in Power BI, I utilized the distinct count formula to give me the distinct count of shipments ( "Distinct Count (Y)" ). I also have basic column that gives me the total cost of that shipment ( "X" ). Then, I created a measure that divided Total Cost by the Distinct Count of Shipments ( "X/Distinct Count (Y)" ).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I have another column that has difference in the distinct count of shipments between this month and last month ( "Z" ). My goal is to multiple each of the values in "Z" by the total of "X/Distinct Count Y". The total of&amp;nbsp; "X/Distinct Count Y" is basically the overall average cost per shipment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this explanation helps. I created this example in excel to visualize what I am looking to accomplish.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 15:19:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Single-Values-by-A-Measured-Column-Total-in-Table/m-p/735698#M2022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-10T15:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplying Single Values by A Measured Column Total in Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Single-Values-by-A-Measured-Column-Total-in-Table/m-p/736619#M2067</link>
      <description>&lt;P&gt;Mate, if you were to read what you've written, would you understand it? Don't be surprised that you don't get any answers...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 14:21:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Single-Values-by-A-Measured-Column-Total-in-Table/m-p/736619#M2067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-10T14:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplying Single Values by A Measured Column Total in Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Single-Values-by-A-Measured-Column-Total-in-Table/m-p/736694#M2073</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I understand what you mean. I assume that you have either a product that you are shipping or a ship that is doing the shipping for which you have based the distinct count on? You seem to be missing a column in your table/visualisation. Anyway, if you apply an ALL() filter on that column, would this return you the Distinct Count Total?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if the column that you are applying distinct count on is [ProductCode] then you could use:&lt;/P&gt;&lt;PRE&gt;Overall Average Cost:=CALCULATE([X/Distinct Count (Y)],ALL([ProductCode]))&lt;/PRE&gt;&lt;P&gt;With your Goal column then just multiplying distinct count Y by your overall average cost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 15:37:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Single-Values-by-A-Measured-Column-Total-in-Table/m-p/736694#M2073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-10T15:37:00Z</dc:date>
    </item>
  </channel>
</rss>

