<?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: Need to add all function inside filter condition in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-add-all-function-inside-filter-condition/m-p/2351471#M59710</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&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; sir,&lt;BR /&gt;&lt;BR /&gt;but for DATESYTD i have maximum limit from slicer even dax should include that condition till where running total should happen&lt;/P&gt;</description>
    <pubDate>Mon, 21 Feb 2022 15:23:58 GMT</pubDate>
    <dc:creator>sajjadkhan25</dc:creator>
    <dc:date>2022-02-21T15:23:58Z</dc:date>
    <item>
      <title>Need to add all function inside filter condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-add-all-function-inside-filter-condition/m-p/2351189#M59687</link>
      <description>&lt;P&gt;Hi Team,@amitchandak,@&lt;SPAN class=""&gt;Samarth_18,@parry2k&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;need to make this work,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;COGS =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('vwConsolidated2C'[COGS]),&lt;STRONG&gt;all(Ac_T1[FY]),all('Type'),&lt;/STRONG&gt;USERELATIONSHIP(vwConsolidated2C[Type_new],Type2[Type]),&lt;BR /&gt;FILTER(DATESYTD(vwConsolidated2C[Fiscal Date]),MAX(vwConsolidated2C[fiscal_Mon_year])=SELECTEDVALUE(Ac_T2[FY]))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i use this all function is not working how can i include in filter condition.&lt;BR /&gt;please help me out...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 13:18:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-add-all-function-inside-filter-condition/m-p/2351189#M59687</guid>
      <dc:creator>sajjadkhan25</dc:creator>
      <dc:date>2022-02-21T13:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add all function inside filter condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-add-all-function-inside-filter-condition/m-p/2351243#M59690</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312186" data-lia-user-login="sajjadkhan25" class="lia-mention lia-mention-user"&gt;sajjadkhan25&lt;/a&gt; , with help from Date table , joined with vwConsolidated2C[Fiscal Date] &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;COGS =&lt;BR /&gt;var _Mes = CALCULATE(SUM('vwConsolidated2C'[COGS]),USERELATIONSHIP(vwConsolidated2C[Type_new],Type2[Type]))&lt;BR /&gt;return &lt;BR /&gt;CALCULATE(_Mes,DATESYTD('Date'[Date]))&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;COGS =&lt;BR /&gt;var _Mes = CALCULATE(SUM('vwConsolidated2C'[COGS]),USERELATIONSHIP(vwConsolidated2C[Type_new],Type2[Type]))&lt;BR /&gt;return &lt;BR /&gt;CALCULATE(_Mes,,DATESYTD('Date'[Date]),all('Type')) // not sure on the need of &lt;STRONG&gt;all(Ac_T1[FY])&lt;/STRONG&gt;, but you can add it here &lt;/P&gt;
&lt;P&gt;CALCULATE(_Mes,,DATESYTD('Date'[Date]),all('Type'),&lt;STRONG&gt;all(Ac_T1[FY])&lt;/STRONG&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 13:36:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-add-all-function-inside-filter-condition/m-p/2351243#M59690</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-21T13:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add all function inside filter condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-add-all-function-inside-filter-condition/m-p/2351471#M59710</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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; sir,&lt;BR /&gt;&lt;BR /&gt;but for DATESYTD i have maximum limit from slicer even dax should include that condition till where running total should happen&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 15:23:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-add-all-function-inside-filter-condition/m-p/2351471#M59710</guid>
      <dc:creator>sajjadkhan25</dc:creator>
      <dc:date>2022-02-21T15:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add all function inside filter condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-add-all-function-inside-filter-condition/m-p/2357773#M60116</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312186" data-lia-user-login="sajjadkhan25" class="lia-mention lia-mention-user"&gt;sajjadkhan25&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need more information to clarify your scenario.&lt;/P&gt;
&lt;P&gt;Could you please provide me with more details about your table and your expected output or share me with your pbix file after &lt;STRONG&gt;&lt;EM&gt;removing sensitive data?&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt; How to Get Your Question Answered Quickly - Microsoft Power BI Community &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt; How to provide sample data in the Power BI Forum - Microsoft Power BI Community &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Eyelyn Qin&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 06:36:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-add-all-function-inside-filter-condition/m-p/2357773#M60116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-24T06:36:55Z</dc:date>
    </item>
  </channel>
</rss>

