<?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: Filter out rows in a table using a button or toggle in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355944#M60002</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="361571" data-lia-user-login="TheV500Oshin" class="lia-mention lia-mention-user"&gt;TheV500Oshin&lt;/a&gt;&amp;nbsp;Here is the sample file with the solution&amp;nbsp;&lt;A href="https://www.dropbox.com/t/zcapitgXbnBiz4nX" target="_blank"&gt;https://www.dropbox.com/t/zcapitgXbnBiz4nX&lt;/A&gt;&lt;BR /&gt;The report looks like this&amp;nbsp;&lt;img /&gt;&lt;img /&gt;&lt;BR /&gt;This is the measure code&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Measure = 
VAR Selection =
    IF ( 
        ISFILTERED ('Is CEO'[CEO?] ),
        CALCULATE (
            VALUES ( Employees[Jobtitle] ),
            Employees[Jobtitle] = "CEO"
        ),
        CALCULATE (
            VALUES ( Employees[Jobtitle] ),
            Employees[Jobtitle] &amp;lt;&amp;gt; "CEO"
        )
    )
VAR Result =
    IF (
        HASONEVALUE ( Employees[EMPID] ),
        Selection
    )
RETURN
    Result &lt;/LI-CODE&gt;&lt;P&gt;Please let me know if this answers your query or if you need any further modifications.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Feb 2022 12:52:56 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-02-23T12:52:56Z</dc:date>
    <item>
      <title>Filter out rows in a table using a button or toggle</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355674#M59974</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a way of a button/toggle to filter out rows based on a string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a small table with the fields "Yes" or "No" and I need to filter a table depending on which button is pressed.&lt;/P&gt;&lt;P&gt;For example I have a field called JobTitle and if I press "Yes" I need to show all the rows that doesn't contain "CEO" and when I untick "Yes" I need to return all the fields back that does contain "CEO".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want to use bookmarks but if there is another way of doing this that would be great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Oshin&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:34:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355674#M59974</guid>
      <dc:creator>TheV500Oshin</dc:creator>
      <dc:date>2022-02-23T10:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out rows in a table using a button or toggle</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355699#M59978</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="361571" data-lia-user-login="TheV500Oshin" class="lia-mention lia-mention-user"&gt;TheV500Oshin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can create a bookmark with filter then add a button and put bookmark as action for your button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samarth&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:46:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355699#M59978</guid>
      <dc:creator>Samarth_18</dc:creator>
      <dc:date>2022-02-23T10:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out rows in a table using a button or toggle</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355702#M59980</link>
      <description>&lt;P&gt;Is there anyway of doing this without bookmarks?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:48:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355702#M59980</guid>
      <dc:creator>TheV500Oshin</dc:creator>
      <dc:date>2022-02-23T10:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out rows in a table using a button or toggle</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355712#M59981</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="361571" data-lia-user-login="TheV500Oshin" class="lia-mention lia-mention-user"&gt;TheV500Oshin&lt;/a&gt;&amp;nbsp;Create two pages one with filter and another with without filter and put button action as navigation to other page. Mark newly created page as hidden so user will not see in services.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:54:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355712#M59981</guid>
      <dc:creator>Samarth_18</dc:creator>
      <dc:date>2022-02-23T10:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out rows in a table using a button or toggle</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355845#M59988</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="361571" data-lia-user-login="TheV500Oshin" class="lia-mention lia-mention-user"&gt;TheV500Oshin&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Can share some screen shots of what your data looks like and what exactly you want to filter?&lt;/P&gt;&lt;P&gt;Thankl you&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 11:45:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355845#M59988</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-23T11:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out rows in a table using a button or toggle</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355851#M59990</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot share screenshot as it sensitive data. I need to be able to filter out the string "CEO" from a column called Jobtitle but it has to be using a toggle for the user.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 11:47:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355851#M59990</guid>
      <dc:creator>TheV500Oshin</dc:creator>
      <dc:date>2022-02-23T11:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out rows in a table using a button or toggle</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355887#M59994</link>
      <description>&lt;P&gt;Two buttons are ok ( Yes, No ) or you need only one ( Yes )?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 12:09:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355887#M59994</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-23T12:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out rows in a table using a button or toggle</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355902#M59996</link>
      <description>&lt;P&gt;Two buttons is fine thank you&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 12:16:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355902#M59996</guid>
      <dc:creator>TheV500Oshin</dc:creator>
      <dc:date>2022-02-23T12:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out rows in a table using a button or toggle</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355944#M60002</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="361571" data-lia-user-login="TheV500Oshin" class="lia-mention lia-mention-user"&gt;TheV500Oshin&lt;/a&gt;&amp;nbsp;Here is the sample file with the solution&amp;nbsp;&lt;A href="https://www.dropbox.com/t/zcapitgXbnBiz4nX" target="_blank"&gt;https://www.dropbox.com/t/zcapitgXbnBiz4nX&lt;/A&gt;&lt;BR /&gt;The report looks like this&amp;nbsp;&lt;img /&gt;&lt;img /&gt;&lt;BR /&gt;This is the measure code&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Measure = 
VAR Selection =
    IF ( 
        ISFILTERED ('Is CEO'[CEO?] ),
        CALCULATE (
            VALUES ( Employees[Jobtitle] ),
            Employees[Jobtitle] = "CEO"
        ),
        CALCULATE (
            VALUES ( Employees[Jobtitle] ),
            Employees[Jobtitle] &amp;lt;&amp;gt; "CEO"
        )
    )
VAR Result =
    IF (
        HASONEVALUE ( Employees[EMPID] ),
        Selection
    )
RETURN
    Result &lt;/LI-CODE&gt;&lt;P&gt;Please let me know if this answers your query or if you need any further modifications.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 12:52:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-rows-in-a-table-using-a-button-or-toggle/m-p/2355944#M60002</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-23T12:52:56Z</dc:date>
    </item>
  </channel>
</rss>

