<?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: DAX function for Threshold in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-function-for-Threshold/m-p/3762513#M146809</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide detailed sample pbix file and the results you expect.So that I can help you better. Please remove any sensitive data in advance.&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jayleny&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2024 06:45:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-03-14T06:45:05Z</dc:date>
    <item>
      <title>DAX function for Threshold</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-function-for-Threshold/m-p/3761110#M146739</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I need to verify if a particular LWR meets a threshold. I've created a threshold table for this purpose and connected it to Crystal using a performance cell. The workflow should be such that when I select a specific LWR ID in the LWR table, it filters the performance cell in Crystal based on the meaningful code, which connects both tables. Then, the filtered performance cell should further filter the threshold and display the minimum threshold in kg and EUR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I've written a DAX function for this, but I'm not obtaining the count of the number of LWRs meeting the threshold.&lt;/P&gt;&lt;P&gt;Could someone kindly provide assistance with this issues? Thank you.&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/forums/postpage/board-id/power-bi-designer#" target="_blank" rel="noopener"&gt;Need Help&lt;/A&gt;&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;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Threshold_Meets =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ActualRevenue&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'LWR'&lt;/SPAN&gt;&lt;SPAN&gt;[Incremental Revenue EUR]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ActualVolume&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'LWR'&lt;/SPAN&gt;&lt;SPAN&gt;[Incremental Volume]&lt;/SPA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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'Threshold'&lt;/SPAN&gt;&lt;SPAN&gt;[E-CO-PCU-A: Performance Cell L2]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SelectedArea&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ActualRevenue&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;gt;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ThresholdRevenue&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ActualVolume&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;gt;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ThresholdVolume&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Threshold Met"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Threshold Not Met"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Mar 2024 15:40:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-function-for-Threshold/m-p/3761110#M146739</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-13T15:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: DAX function for Threshold</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-function-for-Threshold/m-p/3762513#M146809</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide detailed sample pbix file and the results you expect.So that I can help you better. Please remove any sensitive data in advance.&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jayleny&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 06:45:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-function-for-Threshold/m-p/3762513#M146809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-14T06:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: DAX function for Threshold</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-function-for-Threshold/m-p/3762894#M146831</link>
      <description>&lt;P&gt;Hello Thank you for your response, I was able to figure out the way to get the count. Let me know if you are looking for solution&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 08:32:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-function-for-Threshold/m-p/3762894#M146831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-14T08:32:02Z</dc:date>
    </item>
  </channel>
</rss>

