<?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 How to get DAX measure for Unit Price*Quantity-Discount 20% in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-DAX-measure-for-Unit-Price-Quantity-Discount-20/m-p/2316890#M57737</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to calculate with the help of DAX below measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unit Price * Quantity - Discount 20%&lt;/P&gt;&lt;P&gt;How to get the DAX measure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be grateful if you could help me with this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 05:32:46 GMT</pubDate>
    <dc:creator>Aamir2021</dc:creator>
    <dc:date>2022-02-03T05:32:46Z</dc:date>
    <item>
      <title>How to get DAX measure for Unit Price*Quantity-Discount 20%</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-DAX-measure-for-Unit-Price-Quantity-Discount-20/m-p/2316890#M57737</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to calculate with the help of DAX below measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unit Price * Quantity - Discount 20%&lt;/P&gt;&lt;P&gt;How to get the DAX measure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be grateful if you could help me with this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 05:32:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-DAX-measure-for-Unit-Price-Quantity-Discount-20/m-p/2316890#M57737</guid>
      <dc:creator>Aamir2021</dc:creator>
      <dc:date>2022-02-03T05:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DAX measure for Unit Price*Quantity-Discount 20%</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-DAX-measure-for-Unit-Price-Quantity-Discount-20/m-p/2316905#M57739</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313875" data-lia-user-login="Aamir2021" class="lia-mention lia-mention-user"&gt;Aamir2021&lt;/a&gt; , Try a measure like &lt;/P&gt;
&lt;P&gt;Sumx(Table, ([Unit Price] * [Quantity])*0.8)&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 05:44:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-DAX-measure-for-Unit-Price-Quantity-Discount-20/m-p/2316905#M57739</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-03T05:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DAX measure for Unit Price*Quantity-Discount 20%</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-DAX-measure-for-Unit-Price-Quantity-Discount-20/m-p/2316995#M57751</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply. However, it does not work.&lt;/P&gt;&lt;P&gt;There are three tables. The first table has Unit Price, second table has Order Quantity and last table has Discount allowed in percantage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is the Unit price is 15,&amp;nbsp;&amp;nbsp;Order Quantity is 20 and&amp;nbsp;Discount allowed is 20%&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how can we calculate dax to get the Sales after discount?&lt;/P&gt;&lt;P&gt;I hope you get the my point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 06:45:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-DAX-measure-for-Unit-Price-Quantity-Discount-20/m-p/2316995#M57751</guid>
      <dc:creator>Aamir2021</dc:creator>
      <dc:date>2022-02-03T06:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DAX measure for Unit Price*Quantity-Discount 20%</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-DAX-measure-for-Unit-Price-Quantity-Discount-20/m-p/2317104#M57756</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313875" data-lia-user-login="Aamir2021" class="lia-mention lia-mention-user"&gt;Aamir2021&lt;/a&gt; , You need a common dimension. assume you have these measures from two tables &lt;/P&gt;
&lt;P&gt;[Unit Price] , [Quantity] and common item dimension &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sumx(values(item[Item ID]), calculate(([Unit Price] * [Quantity])*0.8)))&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 07:38:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-DAX-measure-for-Unit-Price-Quantity-Discount-20/m-p/2317104#M57756</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-03T07:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DAX measure for Unit Price*Quantity-Discount 20%</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-DAX-measure-for-Unit-Price-Quantity-Discount-20/m-p/2355531#M59960</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313875" data-lia-user-login="Aamir2021" class="lia-mention lia-mention-user"&gt;Aamir2021&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need relationships between these tables. That would help Power BI to get the corresponding&amp;nbsp;Quantity for&amp;nbsp;specific Unit Price along with the&amp;nbsp;Discount. Perhaps you have a product column in the table?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 09:39:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-DAX-measure-for-Unit-Price-Quantity-Discount-20/m-p/2355531#M59960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-23T09:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DAX measure for Unit Price*Quantity-Discount 20%</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-DAX-measure-for-Unit-Price-Quantity-Discount-20/m-p/2376848#M61265</link>
      <description>&lt;P&gt;Thanks for your suggestion.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2022 05:47:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-DAX-measure-for-Unit-Price-Quantity-Discount-20/m-p/2376848#M61265</guid>
      <dc:creator>Aamir2021</dc:creator>
      <dc:date>2022-03-06T05:47:49Z</dc:date>
    </item>
  </channel>
</rss>

