<?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: Highest / Lowest discount value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highest-Lowest-discount-value/m-p/3600527#M139121</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="654561" data-lia-user-login="shayla" class="lia-mention lia-mention-user"&gt;shayla&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can create a new table and measure , try to write the contents of the return to measure.Your new table may not be detected by the computer.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xianda Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Dec 2023 01:41:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-12-25T01:41:35Z</dc:date>
    <item>
      <title>Highest / Lowest discount value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highest-Lowest-discount-value/m-p/3566518#M137492</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead having the lowest discount in the whole column, I would like to have the lowest discount % in each year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I could have&lt;/P&gt;&lt;P&gt;- highest discount % in 2021 = -59.2%&lt;/P&gt;&lt;P&gt;- highest discount % in 2022 = -66.2%&lt;/P&gt;&lt;P&gt;- highest discount % in 2021 = -61.5%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the formula works fine when I created a actual table, but doesn't work when I'm don't.&lt;/P&gt;&lt;P&gt;Could anybody help?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&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;</description>
      <pubDate>Mon, 04 Dec 2023 15:48:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highest-Lowest-discount-value/m-p/3566518#M137492</guid>
      <dc:creator>shayla</dc:creator>
      <dc:date>2023-12-04T15:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Highest / Lowest discount value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highest-Lowest-discount-value/m-p/3567220#M137516</link>
      <description>&lt;P&gt;Not sure what your source table looks like, but what I would do is compare the result the discount% column with the other customer ids max discount. So, in stead of just calculating the discount percentage, make it like this:&lt;BR /&gt;IF(&amp;lt;discount%calculation&amp;gt; = CALCULATE(MIN(&amp;lt;discount%calculation&amp;gt;), ALL('SGP Sales'[Customer ID])), &amp;lt;discount%calculation&amp;gt;, BLANK())&lt;BR /&gt;Then, if you have the customer id's as rows in a matrix and use a AVERAGEX to iterate your summarized table you will only find the non blanks, that are the actual minimum discount percentage.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Not 100% sure if this works right away, but I think this will give you what you want with some tweaking.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 22:15:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highest-Lowest-discount-value/m-p/3567220#M137516</guid>
      <dc:creator>ray_codex</dc:creator>
      <dc:date>2023-12-04T22:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Highest / Lowest discount value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highest-Lowest-discount-value/m-p/3600527#M139121</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="654561" data-lia-user-login="shayla" class="lia-mention lia-mention-user"&gt;shayla&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can create a new table and measure , try to write the contents of the return to measure.Your new table may not be detected by the computer.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xianda Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 01:41:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highest-Lowest-discount-value/m-p/3600527#M139121</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-25T01:41:35Z</dc:date>
    </item>
  </channel>
</rss>

