<?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 Keep Specific value after filter in table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keep-Specific-value-after-filter-in-table/m-p/2834074#M90361</link>
    <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;&lt;BR /&gt;i have a payroll table that i want to filter out all 0 hour worker who dont have a fixed salary,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;this is the main table with all employees&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i want to filter out all employees with no work hours who dont have fixed salaries&lt;BR /&gt;&lt;BR /&gt;so empA should be removed but empD should remain&lt;BR /&gt;&lt;BR /&gt;but this is the resut i get&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;can someone he lp me i need emp D to be visable even if no hours since he has fixed salary&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2022 12:57:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-10-11T12:57:38Z</dc:date>
    <item>
      <title>Keep Specific value after filter in table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keep-Specific-value-after-filter-in-table/m-p/2834074#M90361</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;&lt;BR /&gt;i have a payroll table that i want to filter out all 0 hour worker who dont have a fixed salary,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;this is the main table with all employees&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i want to filter out all employees with no work hours who dont have fixed salaries&lt;BR /&gt;&lt;BR /&gt;so empA should be removed but empD should remain&lt;BR /&gt;&lt;BR /&gt;but this is the resut i get&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;can someone he lp me i need emp D to be visable even if no hours since he has fixed salary&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 12:57:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keep-Specific-value-after-filter-in-table/m-p/2834074#M90361</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-11T12:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Keep Specific value after filter in table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keep-Specific-value-after-filter-in-table/m-p/2835937#M90493</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I created a sample pbix file(&lt;STRONG&gt;see attachment&lt;/STRONG&gt;) for you, please check whether that is what you want.&lt;/P&gt;
&lt;P&gt;1. Create a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;measure&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;as below&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag = 
VAR _selemp =
    SELECTEDVALUE ( 'Table'[Name] )
VAR _emps =
    CALCULATETABLE (
        VALUES ( 'Table'[Name] ),
        FILTER (
            'Table',
            'Table'[Total Work Time] = 0
                &amp;amp;&amp;amp; 'Table'[Fixed Salary In Local] = 0
        )
    )
RETURN
    IF ( NOT ( _selemp IN _emps ), 1, 0 )&lt;/LI-CODE&gt;
&lt;P&gt;2. Create a table visual and apply a visual-level filter with the condition(&lt;STRONG&gt;&lt;EM&gt;Flag is 1&lt;/EM&gt;&lt;/STRONG&gt;)&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 07:17:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keep-Specific-value-after-filter-in-table/m-p/2835937#M90493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-12T07:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Keep Specific value after filter in table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keep-Specific-value-after-filter-in-table/m-p/2836578#M90519</link>
      <description>&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 10:22:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keep-Specific-value-after-filter-in-table/m-p/2836578#M90519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-12T10:22:42Z</dc:date>
    </item>
  </channel>
</rss>

