<?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 DAX help on filter context in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help-on-filter-context/m-p/2924756#M96022</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can you help me on below requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have Table A with below fields&lt;/P&gt;&lt;P&gt;Name&amp;nbsp; &amp;nbsp; Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Amount&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2022/11/23&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2022/12/20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;2022/11/23&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. From above table how to create two Date filters from one Date field like below&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2. Once Dates are filtered like above how to calculate the below measure. In measure the dates should change dynamically based on user selections.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Amount =&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CASE WHEN (DATE1 &amp;gt;= '2022-11-21 00:00' AND DATE2&amp;nbsp; &amp;lt;'2022-11-22 00:00' ) THEN AMOUNT&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ELSE 0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;END&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please help me to write the above dax&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="259995" data-lia-user-login="v-janeyg-msft" class="lia-mention lia-mention-user"&gt;v-janeyg-msft&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 14:37:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-11-23T14:37:30Z</dc:date>
    <item>
      <title>DAX help on filter context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help-on-filter-context/m-p/2924756#M96022</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can you help me on below requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have Table A with below fields&lt;/P&gt;&lt;P&gt;Name&amp;nbsp; &amp;nbsp; Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Amount&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2022/11/23&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2022/12/20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;2022/11/23&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. From above table how to create two Date filters from one Date field like below&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2. Once Dates are filtered like above how to calculate the below measure. In measure the dates should change dynamically based on user selections.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Amount =&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CASE WHEN (DATE1 &amp;gt;= '2022-11-21 00:00' AND DATE2&amp;nbsp; &amp;lt;'2022-11-22 00:00' ) THEN AMOUNT&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ELSE 0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;END&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please help me to write the above dax&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="259995" data-lia-user-login="v-janeyg-msft" class="lia-mention lia-mention-user"&gt;v-janeyg-msft&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 14:37:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help-on-filter-context/m-p/2924756#M96022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-23T14:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: DAX help on filter context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help-on-filter-context/m-p/2924857#M96030</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First I think you should create 2 variables for your dates.&lt;/P&gt;
&lt;P&gt;And to "grab" the value from your slicers, could you use MIN and MAX ? It should return what you expect otheriwse give us more details on your project.&lt;/P&gt;
&lt;P&gt;Then compare :&lt;/P&gt;
&lt;PRE&gt;VarDate1 &amp;gt;= DATE( 2022 , 11 , 21 ) &amp;amp;&amp;amp; VarDate2 &amp;lt; DATE( 2022, 1, 22 )&lt;/PRE&gt;
&lt;P&gt;For dates you should use date function, and for the AND you can use &amp;amp;&amp;amp;, or when you need OR ||.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know first if it works with MIN and MAX before getting into the details of IF test, if needed &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 15:26:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help-on-filter-context/m-p/2924857#M96030</guid>
      <dc:creator>AilleryO</dc:creator>
      <dc:date>2022-11-23T15:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: DAX help on filter context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help-on-filter-context/m-p/2925005#M96046</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="120362" data-lia-user-login="AilleryO" class="lia-mention lia-mention-user"&gt;AilleryO&lt;/a&gt;&amp;nbsp;Thanks for your reply. Actually Date 1 and Date 2 fields are from two different tables. Table B is created from Table A like&amp;nbsp;&lt;SPAN&gt;Table B = &lt;/SPAN&gt;&lt;SPAN&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table A'&lt;/SPAN&gt;&lt;SPAN&gt;[Date 1]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NameDate 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Amount&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;23/11/2021&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;20/12/2021&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;23/11/2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;15/10/2021&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;15/10/2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;70&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement&lt;/STRONG&gt; is between Date 1 and Date 2 range what is the total amount by name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created variables like below . But how to write return statement like&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(Table A[Date1]&amp;gt;= Date1 &amp;amp;&amp;amp;Table B[Date2]&amp;lt; Date2,Amount,0)&amp;nbsp; -- It''s throwing error&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 16:40:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help-on-filter-context/m-p/2925005#M96046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-23T16:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: DAX help on filter context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help-on-filter-context/m-p/2925735#M96096</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, you want to calcuate the sum of [Amount] per name and between the two date in the slicer visual.&lt;/P&gt;
&lt;P&gt;If this , i think you do not need to create another date table, you just need to put the 'Table A' [Date]&amp;nbsp; in the visual and then you can get the data, like this:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If this method does not meet your needs, you can provide us with your special &lt;STRONG&gt;sample data&lt;/STRONG&gt; and the &lt;STRONG&gt;desired output sample&lt;/STRONG&gt; data in the form of &lt;STRONG&gt;tables&lt;/STRONG&gt;, so that we can better help you solve the problem.&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 02:33:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help-on-filter-context/m-p/2925735#M96096</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2022-11-24T02:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: DAX help on filter context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help-on-filter-context/m-p/2926559#M96161</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="433015" data-lia-user-login="v-yueyunzh-msft" class="lia-mention lia-mention-user"&gt;v-yueyunzh-msft&lt;/a&gt;&amp;nbsp;Thanks for your reply. The above solution&amp;nbsp; is not working. please find the below expected output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;Input Table:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Name&amp;nbsp; Date 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Amount&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;23/11/2021&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;20/12/2021&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;23/11/2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;15/10/2021&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;15/10/2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 70&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;output&lt;/FONT&gt;: for Date 1 = 23/11/2021 and Date 2 = 23/11/2022 selection&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Name&amp;nbsp; &amp;nbsp; Amount&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;Amount calculation: i am lookinf for dynamic dax expression for below calculation as user can select any of the dates&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CASE WHEN (DATE1 &lt;FONT color="#FF6600"&gt;&amp;gt;=&lt;/FONT&gt; '2022-11-21 00:00' AND DATE2&amp;nbsp;&lt;FONT color="#FF6600"&gt; &amp;lt;&lt;/FONT&gt; '2022-11-22 00:00' ) THEN AMOUNT&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ELSE 0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;END&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;by using date range i am getting amount for A=60 instead of 30 because its taking date 1 &amp;gt;= selected date and date2&amp;lt;=selected date. It should be&amp;nbsp;date 1 &amp;gt;= selected date and date2&lt;FONT color="#FF6600"&gt;&amp;lt;&lt;/FONT&gt; selected date.&lt;/STRONG&gt;&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;</description>
      <pubDate>Thu, 24 Nov 2022 09:13:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help-on-filter-context/m-p/2926559#M96161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-24T09:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: DAX help on filter context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help-on-filter-context/m-p/2926705#M96176</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description ,&amp;nbsp; you want to “CASE WHEN (DATE1&amp;nbsp;&amp;gt;=&amp;nbsp;'2022-11-21 00:00' AND DATE2&amp;nbsp;&amp;nbsp;&amp;lt;&amp;nbsp;'2022-11-22 00:00' ) THEN AMOUNT”.&lt;/P&gt;
&lt;P&gt;Here are the steps you can refer to:&lt;/P&gt;
&lt;P&gt;(1)My test data is the same as yours.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(2)For your need , i recommend you to create a date table as slicer instead of using the date column in your table. You can click “New Table” and enter this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Date = CALENDAR( FIRSTDATE('Table'[Date1]),LASTDATE('Table'[Date1]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And we do not need to create relationship between two tables.&lt;/P&gt;
&lt;P&gt;(3)We can click “New Measure”&amp;nbsp; to create a measure:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = var  _min = MIN('Date'[Date])

var _max = MAX('Date'[Date])

var _t =FILTER('Table' , 'Table'[Date1]&amp;gt;= _min &amp;amp;&amp;amp; 'Table'[Date1] &amp;lt;_max)

return

SUMX(_t,[Amount])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(4)Then we can put the ’Date‘[Date] on the sliver visual and the [Name] and the measure&amp;nbsp; on the visual and we will meet your need :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If this method does not meet your needs, you can provide us with your special &lt;STRONG&gt;sample data&lt;/STRONG&gt; and the &lt;STRONG&gt;desired output sample&lt;/STRONG&gt; data in the form of &lt;STRONG&gt;tables&lt;/STRONG&gt;, so that we can better help you solve the problem.&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 09:55:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help-on-filter-context/m-p/2926705#M96176</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2022-11-24T09:55:01Z</dc:date>
    </item>
  </channel>
</rss>

