<?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: Dynamic filteration of table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-filteration-of-table/m-p/3594777#M138875</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hope this helps, if not please share the pbi file with the dataset loaded.&lt;BR /&gt;UNION(&lt;BR /&gt;FILTER(Table, Table[Column1] = SELECTEDVALUE(Table[Column1])),&lt;BR /&gt;FILTER(&lt;BR /&gt;Table,&lt;BR /&gt;NOT (&lt;BR /&gt;Table[Column1] = SELECTEDVALUE(Table[Column1])&lt;BR /&gt;&amp;amp;&amp;amp; Table[Column3] IN VALUES(Table[Column3])&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Wed, 20 Dec 2023 19:15:16 GMT</pubDate>
    <dc:creator>Jayaselvan</dc:creator>
    <dc:date>2023-12-20T19:15:16Z</dc:date>
    <item>
      <title>Dynamic filteration of table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-filteration-of-table/m-p/3594731#M138872</link>
      <description>&lt;P&gt;So I have a table as shown.Now, I have a slicer with column 1 values in it. I am creating a table visual to show all the columns.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;If I select value A in slicer , then the output should be all the rows for A , along with all the values where col 3 value is not equal to any col3 value of A. When no filter is selected then all entire table should be shown.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;.Not sure how to achieve this, I was thinking to put a flag as a measure. But unable to achieve this . Kindly help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 18:45:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-filteration-of-table/m-p/3594731#M138872</guid>
      <dc:creator>nemo189</dc:creator>
      <dc:date>2023-12-20T18:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filteration of table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-filteration-of-table/m-p/3594777#M138875</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hope this helps, if not please share the pbi file with the dataset loaded.&lt;BR /&gt;UNION(&lt;BR /&gt;FILTER(Table, Table[Column1] = SELECTEDVALUE(Table[Column1])),&lt;BR /&gt;FILTER(&lt;BR /&gt;Table,&lt;BR /&gt;NOT (&lt;BR /&gt;Table[Column1] = SELECTEDVALUE(Table[Column1])&lt;BR /&gt;&amp;amp;&amp;amp; Table[Column3] IN VALUES(Table[Column3])&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 19:15:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-filteration-of-table/m-p/3594777#M138875</guid>
      <dc:creator>Jayaselvan</dc:creator>
      <dc:date>2023-12-20T19:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filteration of table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-filteration-of-table/m-p/3594798#M138879</link>
      <description>&lt;P&gt;Hi, I am not sure if I correctly understood your question, but please try something like below if it suits your requirement.&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;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;filter measure: =
VAR _selectslicer =
    VALUES ( Slicer[Col 1] )
VAR _selectcol3 =
    SUMMARIZE ( FILTER ( ALL ( Data ), Data[Col 1] IN _selectslicer ), Data[Col 3] )
RETURN
    SWITCH (
        TRUE (),
        NOT ISFILTERED ( Slicer[Col 1] ), 1,
        MAX ( Data[Col 1] ) IN _selectslicer, 1,
        NOT ( MAX ( Data[Col 1] ) IN _selectslicer )
            &amp;amp;&amp;amp; NOT ( MAX ( Data[Col 3] ) IN _selectcol3 ), 1,
        0
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 19:34:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-filteration-of-table/m-p/3594798#M138879</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2023-12-20T19:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filteration of table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-filteration-of-table/m-p/3594807#M138882</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="597999" data-lia-user-login="nemo189" class="lia-mention lia-mention-user"&gt;nemo189&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Create the following measure and assign it in the visual filter of the table viz:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag = 

VAR __C1 = SELECTEDVALUE( Col1_Table[Col1])
VAR __ExcludeC3 =   CALCULATETABLE( VALUES( Table1[Col3] ) , Table1[Col1] = __C1 , REMOVEFILTERS(Table1) )
RETURN

SWITCH(
    TRUE(),
    SELECTEDVALUE( Table1[Col1] ) = __C1, 1,
    NOT (SELECTEDVALUE( Table1[Col3] ) IN __ExcludeC3), 1,
     0
)
&lt;/LI-CODE&gt;
&lt;P&gt;File is attached&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 19:40:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-filteration-of-table/m-p/3594807#M138882</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2023-12-20T19:40:44Z</dc:date>
    </item>
  </channel>
</rss>

