<?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: Need to create a Measure to place it at visual level filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-create-a-Measure-to-place-it-at-visual-level-filter/m-p/1334337#M23718</link>
    <description>&lt;P&gt;How about:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 3a = 
  VAR __CustomerID = MAX('Table (3)'[CustomerID])
  VAR __Table = { "1234","2345","3452","2647","2348" }
RETURN
  IF(__CustomerID IN __Table,0,1)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IDK, I mocked both up in a file (attached below sig) Table (3), Page 3. Maybe because your stuff are numbers 1234, 2345, 3452 instead of text?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 30 Aug 2020 19:27:47 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2020-08-30T19:27:47Z</dc:date>
    <item>
      <title>Need to create a Measure to place it at visual level filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-create-a-Measure-to-place-it-at-visual-level-filter/m-p/1334317#M23714</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need help to create a measure which i will be using as visual level filter on a Report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have a customer table with customerid, I dont want to create calcualted column but make use of mesaure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code logic that i would like to have in measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Customerid not in ('1234',2345',3452',2647',2348')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2020 18:43:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-create-a-Measure-to-place-it-at-visual-level-filter/m-p/1334317#M23714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-30T18:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create a Measure to place it at visual level filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-create-a-Measure-to-place-it-at-visual-level-filter/m-p/1334323#M23716</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;- Perhaps:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __CustomerID = MAX('Table'[CustomerID])
  VAR __Table = { '1234',2345',3452',2647',2348' }
RETURN
  IF(NOT(__CustomerID IN __Table),1,0)&lt;/LI-CODE&gt;
&lt;P&gt;IDK, I mocked up both in a sample file and both seem to work. You can just filter on the 1 or the 0. See PBIX attached below sig. You want Page 3, Table (3).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2020 19:25:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-create-a-Measure-to-place-it-at-visual-level-filter/m-p/1334323#M23716</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-08-30T19:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create a Measure to place it at visual level filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-create-a-Measure-to-place-it-at-visual-level-filter/m-p/1334330#M23717</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The measure outputs is showing as 1 for all the values in the list if i use Not function. My desired out put is the customerid column should eliminate those values present in the list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If in a table visual, if I place customerid columns from table and the measure , it should show me those values that are not in the list.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope my requirement is clear.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2020 19:05:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-create-a-Measure-to-place-it-at-visual-level-filter/m-p/1334330#M23717</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-30T19:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create a Measure to place it at visual level filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-create-a-Measure-to-place-it-at-visual-level-filter/m-p/1334337#M23718</link>
      <description>&lt;P&gt;How about:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 3a = 
  VAR __CustomerID = MAX('Table (3)'[CustomerID])
  VAR __Table = { "1234","2345","3452","2647","2348" }
RETURN
  IF(__CustomerID IN __Table,0,1)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IDK, I mocked both up in a file (attached below sig) Table (3), Page 3. Maybe because your stuff are numbers 1234, 2345, 3452 instead of text?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2020 19:27:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-create-a-Measure-to-place-it-at-visual-level-filter/m-p/1334337#M23718</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-08-30T19:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create a Measure to place it at visual level filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-create-a-Measure-to-place-it-at-visual-level-filter/m-p/1335099#M23747</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , Try a measure like&lt;/P&gt;
&lt;P&gt;calculate(sum(Table[value]) , filter(table, not(Customerid in {"1234","2345","3452","2647","2348"})))&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 06:52:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-create-a-Measure-to-place-it-at-visual-level-filter/m-p/1335099#M23747</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-08-31T06:52:28Z</dc:date>
    </item>
  </channel>
</rss>

