<?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: Can I use a DAX measure to filter a table visual instead of a Calculated Column? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4804368#M183767</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="726957" data-lia-user-login="IM_TRYING_HERE" class="lia-mention lia-mention-user"&gt;IM_TRYING_HERE&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just following up to see if the responses provided by community member were helpful in addressing the issue. If one of the responses helped resolve your query, please consider marking it as the Accepted Solution. Feel free to reach out if you need any further clarification or assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Prasanna Kumar&lt;/P&gt;</description>
    <pubDate>Fri, 22 Aug 2025 03:22:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-08-22T03:22:59Z</dc:date>
    <item>
      <title>Can I use a DAX measure to filter a table visual instead of a Calculated Column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4796283#M183546</link>
      <description>&lt;P&gt;So I know that typically this row level logic is best accomplished with a Calculated Column but I have restricted permissions and can only create Measures. I have been told when possible to use measures. Can I do this?&lt;BR /&gt;&lt;BR /&gt;So I have a table visual that has three dates.&lt;BR /&gt;- move-out date&lt;BR /&gt;- end date&lt;BR /&gt;- As Of Date (which shows the month we are slicing for)&lt;BR /&gt;&lt;BR /&gt;Is it possible to create a measure that will look at each row of that table visual and perform an if statement that says&lt;BR /&gt;If Move Out &amp;lt; End Date then Move Out Else End Date, then check that against the As Of Date and if it is less than or equal to the As Of date then 1 else 0&lt;BR /&gt;The hope is to be able to remove the rows that return a 0.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 19:31:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4796283#M183546</guid>
      <dc:creator>IM_TRYING_HERE</dc:creator>
      <dc:date>2025-08-13T19:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a DAX measure to filter a table visual instead of a Calculated Column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4796296#M183547</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Yes it is, but you will have to use&amp;nbsp; a small workaround to achieve that, first you have to create your measure&lt;/P&gt;
&lt;P&gt;Something like this should return what you need&lt;/P&gt;
&lt;P&gt;Count_Rows_Meeting_Condition =&lt;BR /&gt;SUMX(&lt;BR /&gt;'Table',&amp;nbsp;&lt;BR /&gt;VAR MoveOut = 'Table'[move-out date]&lt;BR /&gt;VAR EndDate = 'Table'[end date]&lt;BR /&gt;VAR AsOfDate = MAX('Table'[As Of Date])&amp;nbsp;&lt;BR /&gt;VAR MinDate = IF(MoveOut &amp;lt; EndDate, MoveOut, EndDate)&lt;BR /&gt;RETURN&lt;BR /&gt;IF(MinDate &amp;lt;= AsOfDate, 1, 0)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, in your table, you have to add your measure and in the filter of the visual, you hidde if your measure = 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Know, if you do not want to see this column, you can hide it, your replace the name by a blank space and your use conditional formatting for the color&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need more help, do not hesistate to ask&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 19:51:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4796296#M183547</guid>
      <dc:creator>Cookistador</dc:creator>
      <dc:date>2025-08-13T19:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a DAX measure to filter a table visual instead of a Calculated Column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4797605#M183586</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="726957" data-lia-user-login="IM_TRYING_HERE" class="lia-mention lia-mention-user"&gt;IM_TRYING_HERE&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the Microsoft Fabric Forum Community, and special thanks to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="400842" data-lia-user-login="Cookistador" class="lia-mention lia-mention-user"&gt;Cookistador&lt;/a&gt;&amp;nbsp;&amp;nbsp; for prompt and helpful response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just following up to see if the responses provided by community member were helpful in addressing the issue.&lt;/P&gt;
&lt;P&gt;If one of the responses helped resolve your query, please consider marking it as the Accepted Solution. Feel free to reach out if you need any further clarification or assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Prasanna Kumar&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 02:54:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4797605#M183586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-08-15T02:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a DAX measure to filter a table visual instead of a Calculated Column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4798294#M183598</link>
      <description>&lt;P&gt;Thanks for helping! I tried putting that measure in but it starting getting multiple rows like a relationship issue was occurring. Here is a picture of what I'm trying to do. I want to make it so the measure I create can be used to filter the table so that the only row remaining is the green one because it had not ended or moved out at the moment of the AsOf Date. I hope this helps&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 19:00:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4798294#M183598</guid>
      <dc:creator>IM_TRYING_HERE</dc:creator>
      <dc:date>2025-08-15T19:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a DAX measure to filter a table visual instead of a Calculated Column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4798323#M183601</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="726957" data-lia-user-login="IM_TRYING_HERE" class="lia-mention lia-mention-user"&gt;IM_TRYING_HERE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did a test and it is working for me&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the relationship between your calendar table and your Contract table ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Without this infomration, you can also create a disconnected date table, and use this measure:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Count_Rows_Meeting_Condition =&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;'Contract Table'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;MoveOut&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'Contract Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Move Out]&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;EndDate&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'Contract Table'&lt;/SPAN&gt;&lt;SPAN&gt;[end date]&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;AsOfDate&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Date'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;MinDate&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MoveOut&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN&gt;EndDate&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;MoveOut&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;EndDate&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MinDate&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN&gt;AsOfDate&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;But, show us your data model if you prefer (or just the relationhip between the two tables)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 Aug 2025 20:27:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4798323#M183601</guid>
      <dc:creator>Cookistador</dc:creator>
      <dc:date>2025-08-15T20:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a DAX measure to filter a table visual instead of a Calculated Column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4801767#M183702</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="726957" data-lia-user-login="IM_TRYING_HERE" class="lia-mention lia-mention-user"&gt;IM_TRYING_HERE&lt;/a&gt;,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Just following up to see if the response provided was helpful in resolving your issue. Please feel free to let us know if you need any further assistance.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Best regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Prasanna Kumar&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 06:12:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4801767#M183702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-08-20T06:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a DAX measure to filter a table visual instead of a Calculated Column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4804368#M183767</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="726957" data-lia-user-login="IM_TRYING_HERE" class="lia-mention lia-mention-user"&gt;IM_TRYING_HERE&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just following up to see if the responses provided by community member were helpful in addressing the issue. If one of the responses helped resolve your query, please consider marking it as the Accepted Solution. Feel free to reach out if you need any further clarification or assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Prasanna Kumar&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 03:22:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4804368#M183767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-08-22T03:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a DAX measure to filter a table visual instead of a Calculated Column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4808359#M183900</link>
      <description>&lt;P&gt;This got me far enough to get a working measure. I had to adjust the VAR MoveOut because that date came from a different table so I had to use CALCULATE ( SELECTEDVALUE(OtherTable[MoveOut], USERELATIONSHIP ( ContractTable[IdKey],OtherTable[IdKey] ) ). Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 15:33:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-use-a-DAX-measure-to-filter-a-table-visual-instead-of-a/m-p/4808359#M183900</guid>
      <dc:creator>IM_TRYING_HERE</dc:creator>
      <dc:date>2025-08-26T15:33:56Z</dc:date>
    </item>
  </channel>
</rss>

