<?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 Use percentage measure for multiplication in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Use-percentage-measure-for-multiplication/m-p/765234#M20340</link>
    <description>&lt;P&gt;Hi There,&lt;BR /&gt;&lt;BR /&gt;I have the following DAX that calulates the percentage of the items based on the total&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;Percentage Of Total Units = DIVIDE(
    [Total Units],
    CALCULATE(
        SUM(table_1[Unit Length]),
        ALLSELECTED(table_1)
    )
)&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;This works great, and displays percentage per row in a table, however I need to use this percentage per row and multiply this by another value. I tried the following:&lt;/P&gt;&lt;PRE&gt;Measure = PRODUCTX(
    VALUES(
        table_1[unit_cost/h]
    ), 
    [Percentage Of Total Units]
)&lt;/PRE&gt;&lt;P&gt;But this does not give me the expected&amp;nbsp;value, its wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the percentage measure incorrect? Or am I using the wrong functions?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2019 12:24:26 GMT</pubDate>
    <dc:creator>powerbijourney</dc:creator>
    <dc:date>2019-08-13T12:24:26Z</dc:date>
    <item>
      <title>Use percentage measure for multiplication</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Use-percentage-measure-for-multiplication/m-p/765234#M20340</link>
      <description>&lt;P&gt;Hi There,&lt;BR /&gt;&lt;BR /&gt;I have the following DAX that calulates the percentage of the items based on the total&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;Percentage Of Total Units = DIVIDE(
    [Total Units],
    CALCULATE(
        SUM(table_1[Unit Length]),
        ALLSELECTED(table_1)
    )
)&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;This works great, and displays percentage per row in a table, however I need to use this percentage per row and multiply this by another value. I tried the following:&lt;/P&gt;&lt;PRE&gt;Measure = PRODUCTX(
    VALUES(
        table_1[unit_cost/h]
    ), 
    [Percentage Of Total Units]
)&lt;/PRE&gt;&lt;P&gt;But this does not give me the expected&amp;nbsp;value, its wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the percentage measure incorrect? Or am I using the wrong functions?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 12:24:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Use-percentage-measure-for-multiplication/m-p/765234#M20340</guid>
      <dc:creator>powerbijourney</dc:creator>
      <dc:date>2019-08-13T12:24:26Z</dc:date>
    </item>
  </channel>
</rss>

