<?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: Creating a logical parameter with Summarize?- in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-logical-parameter-with-Summarize/m-p/2536041#M71269</link>
    <description>&lt;P&gt;Just to be clear:&lt;/P&gt;&lt;P&gt;As you can see in the below measure 'Deductions % per SchemeV2":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Deductions % per SchemeV2:=&lt;/SPAN&gt;&lt;SPAN class=""&gt;iferror&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;sumx&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;summarize&lt;/SPAN&gt;&lt;SPAN class=""&gt;(cust1,CUST1[Buying Group2]),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;IF&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;calculate&lt;/SPAN&gt;&lt;SPAN class=""&gt;([YoY% XX],CUST1[Buying Group2]=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Blue Vet"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&amp;gt;0.1,0.18)),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Screenshot for your convenience-&lt;/SPAN&gt;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See below that I have the 0.18 show up every time the YoY% is above 10% on a customer level. Can you help me understand what I need to change in the measure above so that 0.18 shows up all the time&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;because the entire group is performing at *16%* (more than 10%)?&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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>Tue, 24 May 2022 11:42:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-05-24T11:42:50Z</dc:date>
    <item>
      <title>Creating a logical parameter with Summarize?-</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-logical-parameter-with-Summarize/m-p/2533600#M71126</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to give customers a certain % of deduction if ALL the customers within that group meet a specific YoY (year over year) criteria of revenue growth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for example, the measure below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having trouble with this yellow part - I don't want each customer to get 18% if their individual YoY% is above 10%&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;*but rather if&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;all&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;customers have a YoY% above 10%*&lt;/STRONG&gt;, then the customer (and all others) should get min 18%...&lt;/P&gt;&lt;P&gt;&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;&lt;P&gt;So technically because the YoY% in 2022 was more than 10% (16% as you see below), there shouldn't be any 15% deductions (see red arrowed column).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please what am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eyal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 14:05:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-logical-parameter-with-Summarize/m-p/2533600#M71126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-23T14:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical parameter with Summarize?-</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-logical-parameter-with-Summarize/m-p/2536041#M71269</link>
      <description>&lt;P&gt;Just to be clear:&lt;/P&gt;&lt;P&gt;As you can see in the below measure 'Deductions % per SchemeV2":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Deductions % per SchemeV2:=&lt;/SPAN&gt;&lt;SPAN class=""&gt;iferror&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;sumx&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;summarize&lt;/SPAN&gt;&lt;SPAN class=""&gt;(cust1,CUST1[Buying Group2]),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;IF&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;calculate&lt;/SPAN&gt;&lt;SPAN class=""&gt;([YoY% XX],CUST1[Buying Group2]=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Blue Vet"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&amp;gt;0.1,0.18)),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Screenshot for your convenience-&lt;/SPAN&gt;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See below that I have the 0.18 show up every time the YoY% is above 10% on a customer level. Can you help me understand what I need to change in the measure above so that 0.18 shows up all the time&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;because the entire group is performing at *16%* (more than 10%)?&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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>Tue, 24 May 2022 11:42:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-logical-parameter-with-Summarize/m-p/2536041#M71269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-24T11:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical parameter with Summarize?-</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-logical-parameter-with-Summarize/m-p/2540900#M71556</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi&amp;nbsp;&amp;nbsp;Anonymous&lt;/LI-USER&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for reaching out to us.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;the YoY% in 2022 was more than 10% (16% as you see below),&amp;nbsp; so the [Deductions % per Scheme] should be 18% each row right?&amp;nbsp;The reason for this error, I think it may be that the called [YoY% in 2022] is incorrect when calculating [Deductions % per Scheme]&amp;nbsp; in each row, please try to change the measure to return YoY% in 2022&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Tang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 08:33:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-logical-parameter-with-Summarize/m-p/2540900#M71556</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-05-26T08:33:40Z</dc:date>
    </item>
  </channel>
</rss>

