<?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: Through measure the multiple values are wrong in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Through-measure-the-multiple-values-are-wrong/m-p/3234395#M118826</link>
    <description>&lt;P&gt;Hello asdf1608,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is also easily done in Power BI! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this for your measure 2 instead:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure 2 = 
SUMX (
    Sheet1,
    [Conversion] * Sheet1[Row ID]
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason your original Measure 2 wasn't working is because you wanted the calculation to go row by row, but Power BI doesn't know that unless you use an iterator function (like SUMX); instead of going row by row, multiplying the row ID and conversion together then adding it all up at the end, it was adding up all the row IDs, adding up all the discounts, then multiplying the two numbers together (ie: 1,583.99 * 51963915).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;----------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 14 May 2023 19:57:52 GMT</pubDate>
    <dc:creator>Wilson_</dc:creator>
    <dc:date>2023-05-14T19:57:52Z</dc:date>
    <item>
      <title>Through measure the multiple values are wrong</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Through-measure-the-multiple-values-are-wrong/m-p/3232937#M118692</link>
      <description>&lt;P&gt;I am converting the tableau dashboard to power BI. I find this very difficult.&lt;/P&gt;&lt;P&gt;There is a field "Discount" which gets divided by parameter "Parameter 1".&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This converted value is multiplied by "Row ID" field. This is the basic concept. This is easily possible in Tableau.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The result is this&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But in Power BI it is difficult.&lt;/P&gt;&lt;P&gt;I have created the parameter "Unit Conversion" and used that field to get it divided by "Discount".&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is done in measure since in column multiple values is not possible.&lt;/P&gt;&lt;P&gt;Now to get this multiplied by Row ID&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The result is totally wrong.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I am not sure of why through measure the simple multiplication is wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I get this correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help in this is needed.&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!Akz4acqb40UcgY0R6cTeM3cqYlzznQ?e=afZGPM" target="_blank"&gt;aaa.pbix&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please work in this power BI. I am not able to figure it out&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 13:51:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Through-measure-the-multiple-values-are-wrong/m-p/3232937#M118692</guid>
      <dc:creator>asdf1608</dc:creator>
      <dc:date>2023-05-12T13:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Through measure the multiple values are wrong</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Through-measure-the-multiple-values-are-wrong/m-p/3234395#M118826</link>
      <description>&lt;P&gt;Hello asdf1608,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is also easily done in Power BI! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this for your measure 2 instead:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure 2 = 
SUMX (
    Sheet1,
    [Conversion] * Sheet1[Row ID]
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason your original Measure 2 wasn't working is because you wanted the calculation to go row by row, but Power BI doesn't know that unless you use an iterator function (like SUMX); instead of going row by row, multiplying the row ID and conversion together then adding it all up at the end, it was adding up all the row IDs, adding up all the discounts, then multiplying the two numbers together (ie: 1,583.99 * 51963915).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;----------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 19:57:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Through-measure-the-multiple-values-are-wrong/m-p/3234395#M118826</guid>
      <dc:creator>Wilson_</dc:creator>
      <dc:date>2023-05-14T19:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Through measure the multiple values are wrong</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Through-measure-the-multiple-values-are-wrong/m-p/3235178#M118875</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="540281" data-lia-user-login="Wilson_" class="lia-mention lia-mention-user"&gt;Wilson_&lt;/a&gt;&amp;nbsp;Thank you so much&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 08:34:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Through-measure-the-multiple-values-are-wrong/m-p/3235178#M118875</guid>
      <dc:creator>asdf1608</dc:creator>
      <dc:date>2023-05-15T08:34:06Z</dc:date>
    </item>
  </channel>
</rss>

