<?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 a column by another column's specific values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filter-a-column-by-another-column-s-specific-values/m-p/935287#M9738</link>
    <description>&lt;P&gt;Hi, something like this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WD Finalized = CALCULATE(SUM('Table'[WD]), KEEPFILTERS('Table'[Status]="Final check approved"))&lt;/P&gt;&lt;P&gt;WD Pending = SUM('Table'[WD]) - [WD Finalized]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or you can create the 2nd one using a list of statuses to include like the first one but with many conditions in KEEPFILTERS. (Status IN { "Status 1", "Status 2", ...} )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Ulf&lt;/P&gt;</description>
    <pubDate>Mon, 17 Feb 2020 09:54:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-17T09:54:59Z</dc:date>
    <item>
      <title>filter a column by another column's specific values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filter-a-column-by-another-column-s-specific-values/m-p/931969#M9582</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see attached picture. I have this table containing working days (wd) used for solving change requests. The satus shows wether the request is finalized (final check approved) or is still not resolved (to be reviewed etc.). On this way we see how many working days that have been spent for different statuses.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make a measure that can filter the working days that are finalized and those that are still to be reviewed. I know I can do it by the filter pane, but I want to to it in a measure/dax so I can compare it in a stacked colum chart (see&amp;nbsp;the second picture; its just something i made up and not based on correct numbers).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to Power BI so really appreciate the help.&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;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 15:19:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filter-a-column-by-another-column-s-specific-values/m-p/931969#M9582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-13T15:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: filter a column by another column's specific values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filter-a-column-by-another-column-s-specific-values/m-p/934588#M9702</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if I understand you correct ot will be enough to create a calculated table like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Filtered table = FILTER( 'Table',
'Table'[Status]="final check approved" || LEFT('Table'[Status], 14) = "To Be Reviewed"
)&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 16 Feb 2020 19:46:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filter-a-column-by-another-column-s-specific-values/m-p/934588#M9702</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-02-16T19:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: filter a column by another column's specific values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filter-a-column-by-another-column-s-specific-values/m-p/935237#M9731</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="82403" data-lia-user-login="az38" class="lia-mention lia-mention-user"&gt;az38&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The screenshot I took is just a slice of a much larger table that is eventually going to be integrated from another datasource. I need a measure that filter out those who have "final check approved" and "final check rejected". I need another measure that filter out "to be reviewed (all of those kinds)".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 09:30:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filter-a-column-by-another-column-s-specific-values/m-p/935237#M9731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-17T09:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: filter a column by another column's specific values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filter-a-column-by-another-column-s-specific-values/m-p/935256#M9734</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry, do not understand. previous solution is not ok?&lt;/P&gt;
&lt;P&gt;you can do something like above, like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Filtered table = FILTER( 'Table',
'Table'[Status]="final check approved" || 'Table'[Status]="final check rejected"
)&lt;/LI-CODE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Filtered table = FILTER( 'Table',
LEFT('Table'[Status], 14) = "To Be Reviewed"
)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 17 Feb 2020 09:40:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filter-a-column-by-another-column-s-specific-values/m-p/935256#M9734</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-02-17T09:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: filter a column by another column's specific values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filter-a-column-by-another-column-s-specific-values/m-p/935267#M9735</link>
      <description>&lt;P&gt;I actually want to calculate the average. Could you help me correct this one:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure 2 = CALCULATE(AVERAGE('Cr and leadtime'[WD]), 'Cr and leadtime'[Status]="final Check Approved" &amp;amp;&amp;amp; "Final Check Rejected")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;It works&amp;nbsp; if I dont use the &amp;amp;&amp;amp; but I want to filter for both. Whats the right way to write the syntax?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Feb 2020 09:45:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filter-a-column-by-another-column-s-specific-values/m-p/935267#M9735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-17T09:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: filter a column by another column's specific values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filter-a-column-by-another-column-s-specific-values/m-p/935287#M9738</link>
      <description>&lt;P&gt;Hi, something like this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WD Finalized = CALCULATE(SUM('Table'[WD]), KEEPFILTERS('Table'[Status]="Final check approved"))&lt;/P&gt;&lt;P&gt;WD Pending = SUM('Table'[WD]) - [WD Finalized]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or you can create the 2nd one using a list of statuses to include like the first one but with many conditions in KEEPFILTERS. (Status IN { "Status 1", "Status 2", ...} )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Ulf&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 09:54:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filter-a-column-by-another-column-s-specific-values/m-p/935287#M9738</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-17T09:54:59Z</dc:date>
    </item>
  </channel>
</rss>

