<?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: VAR Filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-Filter/m-p/2722540#M83079</link>
    <description>&lt;DIV&gt;&lt;SPAN&gt;Touch up Yield =CALCULATE(DIVIDE(SUM(TJob[FirstPassQty]),SUM(TJob[Antal])),TJob[SekundærNavn]&amp;nbsp;=&amp;nbsp;"Touch up")&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 24 Aug 2022 08:26:46 GMT</pubDate>
    <dc:creator>wdx223_Daniel</dc:creator>
    <dc:date>2022-08-24T08:26:46Z</dc:date>
    <item>
      <title>VAR Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-Filter/m-p/2722511#M83078</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ve written dax&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Touch up Yield = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;Touchup&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TJob&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;TJob&lt;/SPAN&gt;&lt;SPAN&gt;[SekundærNavn]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Touch up"&lt;/SPAN&gt;&lt;SPAN&gt; )&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; &lt;/SPAN&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TJob&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;TJob&lt;/SPAN&gt;&lt;SPAN&gt;[FirstPassQty]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TJob&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;TJob&lt;/SPAN&gt;&lt;SPAN&gt;[Antal]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now i m stuck cause i dont know how to link&amp;nbsp;&lt;SPAN&gt;SekundærNavn filter id to my formula. that divide function would take only "Touch up" category into consideration&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Aug 2022 08:17:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-Filter/m-p/2722511#M83078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-24T08:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: VAR Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-Filter/m-p/2722540#M83079</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Touch up Yield =CALCULATE(DIVIDE(SUM(TJob[FirstPassQty]),SUM(TJob[Antal])),TJob[SekundærNavn]&amp;nbsp;=&amp;nbsp;"Touch up")&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Aug 2022 08:26:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-Filter/m-p/2722540#M83079</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2022-08-24T08:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: VAR Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-Filter/m-p/2722542#M83080</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure if I understood your question correctly, but please try the below whether it suits your requirement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Touch up Yield =
VAR Touchup =
    FILTER ( TJob, TJob[SekundærNavn] = "Touch up" )
RETURN
    DIVIDE ( SUMX ( Touchup, TJob[FirstPassQty] ), SUMX ( Touchup, TJob[Antal] ) )
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 24 Aug 2022 08:27:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-Filter/m-p/2722542#M83080</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-08-24T08:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: VAR Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-Filter/m-p/2722593#M83086</link>
      <description>&lt;P&gt;Both solution are working great!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you both of you for quick answer&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 08:42:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-Filter/m-p/2722593#M83086</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-24T08:42:03Z</dc:date>
    </item>
  </channel>
</rss>

