<?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 Matrix table filtered by measure ? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-table-filtered-by-measure/m-p/3438016#M130462</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question for DAX specialists about filtering matrix table values with "external" measure.&lt;/P&gt;&lt;P&gt;I would&amp;nbsp; like to know if it is possible to add filter/context on a &lt;STRONG&gt;&lt;U&gt;matrix table&lt;/U&gt;&lt;/STRONG&gt; with the result of another measure (true/false)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I fill a matrix table with a measure, lets say "Value_measure" from a "source table"&lt;/P&gt;&lt;P&gt;If I add filters in the Value_measure (calculate(max(values), col1_value&amp;lt;col2_value)) , the matrix table shows correct values.&lt;/P&gt;&lt;P&gt;If Value_measure = max(values) with no filter and that I create another "measure_filter" = if(col1_value&amp;lt;col2_value, true, false) and that I drag this measure_filter in the matrix filter panel and select only "true" values, it does not affect values.&lt;/P&gt;&lt;P&gt;But if I change visual from matrix to table, the measure_filter works fine. Strange ?&lt;BR /&gt;I also noticed that "measure_filter" works on matrix table if i copy/past code to a new column of the source table.&lt;/P&gt;&lt;P&gt;Am I right ?&lt;BR /&gt;Thanks for your answers.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 09:39:33 GMT</pubDate>
    <dc:creator>Atiroocky</dc:creator>
    <dc:date>2023-09-19T09:39:33Z</dc:date>
    <item>
      <title>Matrix table filtered by measure ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-table-filtered-by-measure/m-p/3438016#M130462</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question for DAX specialists about filtering matrix table values with "external" measure.&lt;/P&gt;&lt;P&gt;I would&amp;nbsp; like to know if it is possible to add filter/context on a &lt;STRONG&gt;&lt;U&gt;matrix table&lt;/U&gt;&lt;/STRONG&gt; with the result of another measure (true/false)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I fill a matrix table with a measure, lets say "Value_measure" from a "source table"&lt;/P&gt;&lt;P&gt;If I add filters in the Value_measure (calculate(max(values), col1_value&amp;lt;col2_value)) , the matrix table shows correct values.&lt;/P&gt;&lt;P&gt;If Value_measure = max(values) with no filter and that I create another "measure_filter" = if(col1_value&amp;lt;col2_value, true, false) and that I drag this measure_filter in the matrix filter panel and select only "true" values, it does not affect values.&lt;/P&gt;&lt;P&gt;But if I change visual from matrix to table, the measure_filter works fine. Strange ?&lt;BR /&gt;I also noticed that "measure_filter" works on matrix table if i copy/past code to a new column of the source table.&lt;/P&gt;&lt;P&gt;Am I right ?&lt;BR /&gt;Thanks for your answers.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 09:39:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-table-filtered-by-measure/m-p/3438016#M130462</guid>
      <dc:creator>Atiroocky</dc:creator>
      <dc:date>2023-09-19T09:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix table filtered by measure ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-table-filtered-by-measure/m-p/3438054#M130466</link>
      <description>&lt;P&gt;In Power BI, filtering a matrix table with a measure that evaluates to true or false (like your measure_filter) can behave differently depending on how you apply the filter. The behavior you described is expected due to how filters work in matrix visuals.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Matrix Visual Filtering:&lt;/STRONG&gt; When you add a measure (e.g., Value_measure) to a matrix visual and apply filters to it using the "Visual-Level Filters" or "Report-Level Filters," it filters the values directly in the visual itself based on the criteria you specify. It does not affect other visuals.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Matrix Filter Panel:&lt;/STRONG&gt; When you add a measure (e.g., measure_filter) to the "Filters" pane of a matrix visual and choose to filter based on true or false values, it will filter rows in the visual that satisfy the condition you set in the measure.&lt;/P&gt;&lt;P&gt;However, the filtering behavior in matrix visuals is such that it usually filters at the row level. This means that if you have a matrix visual with multiple columns and you apply a filter to one column using a measure like measure_filter, it will only affect the rows within that column, not the entire matrix visual.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Table Visual vs. Matrix Visual:&lt;/STRONG&gt; The behavior difference you noticed between table and matrix visuals is because table visuals inherently have a different structure than matrix visuals. When you apply a filter using measure_filter in a table visual, it filters the entire table because table visuals do not have columns in the same way matrix visuals do.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If you want to apply a filter at the matrix visual level that affects all columns and rows, you would typically use the "Visual-Level Filters" or "Report-Level Filters." If you want to filter specific columns in a matrix visual, you might need to consider different approaches, such as segmenting your data or using different visual types.&lt;/P&gt;&lt;P&gt;In summary, the behavior you observed is related to how filtering works in matrix visuals and is expected. To apply a filter that affects all columns and rows in a matrix visual, you should use "Visual-Level Filters" or "Report-Level Filters."&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 10:03:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-table-filtered-by-measure/m-p/3438054#M130466</guid>
      <dc:creator>123abc</dc:creator>
      <dc:date>2023-09-19T10:03:25Z</dc:date>
    </item>
  </channel>
</rss>

