<?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 Filter a table based on a DAX variable value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-a-table-based-on-a-DAX-variable-value/m-p/3275822#M121510</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to filter a table based on variable value. First I have taken the variable into a measure as shown below&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;Selected ID&lt;/STRONG&gt; = SELECTEDVALUE(study[Studyid_commonname])&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then I have added a new column with (1,0) to the table (&lt;EM&gt;study_site&lt;/EM&gt;) that I want to filter. (so I can filter based on 1,0)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;ID Check&lt;/STRONG&gt; = IF([Selected ID]=study_site[Studyid_commonname],1,0)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But it gives 1 to all rows. Is there any other way to do this?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 09 Jun 2023 03:53:40 GMT</pubDate>
    <dc:creator>Thisaatty</dc:creator>
    <dc:date>2023-06-09T03:53:40Z</dc:date>
    <item>
      <title>Filter a table based on a DAX variable value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-a-table-based-on-a-DAX-variable-value/m-p/3275822#M121510</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to filter a table based on variable value. First I have taken the variable into a measure as shown below&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;Selected ID&lt;/STRONG&gt; = SELECTEDVALUE(study[Studyid_commonname])&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then I have added a new column with (1,0) to the table (&lt;EM&gt;study_site&lt;/EM&gt;) that I want to filter. (so I can filter based on 1,0)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;ID Check&lt;/STRONG&gt; = IF([Selected ID]=study_site[Studyid_commonname],1,0)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But it gives 1 to all rows. Is there any other way to do this?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Jun 2023 03:53:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-a-table-based-on-a-DAX-variable-value/m-p/3275822#M121510</guid>
      <dc:creator>Thisaatty</dc:creator>
      <dc:date>2023-06-09T03:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a table based on a DAX variable value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-a-table-based-on-a-DAX-variable-value/m-p/3275840#M121511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="573199" data-lia-user-login="Thisaatty" class="lia-mention lia-mention-user"&gt;Thisaatty&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Calculated columns do not interact with the filter context. What exactly are you trying to achieve?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 04:08:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-a-table-based-on-a-DAX-variable-value/m-p/3275840#M121511</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-09T04:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a table based on a DAX variable value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-a-table-based-on-a-DAX-variable-value/m-p/3275847#M121512</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;, Thanks for replying&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to filter a visual based on a value that's in a card&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 04:11:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-a-table-based-on-a-DAX-variable-value/m-p/3275847#M121512</guid>
      <dc:creator>Thisaatty</dc:creator>
      <dc:date>2023-06-09T04:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a table based on a DAX variable value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-a-table-based-on-a-DAX-variable-value/m-p/3275861#M121515</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="573199" data-lia-user-login="Thisaatty" class="lia-mention lia-mention-user"&gt;Thisaatty&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Ok, but this requires to provide more details. Is 'study' a disconnected or connected table? What which level/granularity the visual is represented? What table(s) column(s) involved in the visual? Screenshots would greatly help to understand the problem.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 04:27:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-a-table-based-on-a-DAX-variable-value/m-p/3275861#M121515</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-09T04:27:04Z</dc:date>
    </item>
  </channel>
</rss>

