<?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: Inject date selection from a dropdown slicer into a dax formula in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inject-date-selection-from-a-dropdown-slicer-into-a-dax-formula/m-p/4276752#M169691</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply, I added the formular you suggested but the ourtcome reamins the same, the table only shown contract with end deate in the seclected month.&lt;/P&gt;&lt;P&gt;Any addiotnal ideas?&lt;/P&gt;&lt;P&gt;Thanks!&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Nov 2024 22:41:52 GMT</pubDate>
    <dc:creator>Netope</dc:creator>
    <dc:date>2024-11-09T22:41:52Z</dc:date>
    <item>
      <title>Inject date selection from a dropdown slicer into a dax formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inject-date-selection-from-a-dropdown-slicer-into-a-dax-formula/m-p/4276320#M169671</link>
      <description>&lt;P&gt;Hi I am trying to create a measure that sums Totals for all contracts with EndDate &amp;gt;= the Year/month selected in a slicer dropdown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See PBI File with additonal explanations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="SlicertoDax" href="https://drive.google.com/file/d/1Mb4s79kyTZAUg5WK7EmrK6W7MpGwA4uX/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1Mb4s79kyTZAUg5WK7EmrK6W7MpGwA4uX/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2024 02:49:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inject-date-selection-from-a-dropdown-slicer-into-a-dax-formula/m-p/4276320#M169671</guid>
      <dc:creator>Netope</dc:creator>
      <dc:date>2024-11-09T02:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Inject date selection from a dropdown slicer into a dax formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inject-date-selection-from-a-dropdown-slicer-into-a-dax-formula/m-p/4276385#M169674</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="178949" data-lia-user-login="Netope" class="lia-mention lia-mention-user"&gt;Netope&lt;/a&gt;&amp;nbsp; Try the below code:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Total = 
VAR _selectedDate = SELECTEDVALUE('Selected Value'[EndDate])
RETURN
    CALCULATE(
        SUM('Selected Value'[Act]),
        FILTER(
            ALLEXCEPT('Selected Value', 'Selected Value'[Contract]),
            'Selected Value'[EndDate] &amp;gt;= _selectedDate
        )
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!!&lt;BR /&gt;If this solved your problem, please accept it as a solution and a kudos!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Shahariar Hafiz&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2024 06:09:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inject-date-selection-from-a-dropdown-slicer-into-a-dax-formula/m-p/4276385#M169674</guid>
      <dc:creator>shafiz_p</dc:creator>
      <dc:date>2024-11-09T06:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Inject date selection from a dropdown slicer into a dax formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inject-date-selection-from-a-dropdown-slicer-into-a-dax-formula/m-p/4276752#M169691</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply, I added the formular you suggested but the ourtcome reamins the same, the table only shown contract with end deate in the seclected month.&lt;/P&gt;&lt;P&gt;Any addiotnal ideas?&lt;/P&gt;&lt;P&gt;Thanks!&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2024 22:41:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inject-date-selection-from-a-dropdown-slicer-into-a-dax-formula/m-p/4276752#M169691</guid>
      <dc:creator>Netope</dc:creator>
      <dc:date>2024-11-09T22:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Inject date selection from a dropdown slicer into a dax formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inject-date-selection-from-a-dropdown-slicer-into-a-dax-formula/m-p/4277308#M169718</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="178949" data-lia-user-login="Netope" class="lia-mention lia-mention-user"&gt;Netope&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to create an unrelated dimension table, for which you can view the following results:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table = SUMMARIZE('Selected Value',[EndDate])

Total = var _s = SELECTEDVALUE('Table'[EndDate])
RETURN CALCULATE(SUM('Selected Value'[Act]),FILTER('Selected Value',[EndDate]&amp;gt;=_s))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;An attachment for your reference. Hope it helps!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Community Support Team_ Scott Chang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 01:28:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inject-date-selection-from-a-dropdown-slicer-into-a-dax-formula/m-p/4277308#M169718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-11T01:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Inject date selection from a dropdown slicer into a dax formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inject-date-selection-from-a-dropdown-slicer-into-a-dax-formula/m-p/4279788#M169836</link>
      <description>&lt;P&gt;Thanks! it worked just fine&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 12:08:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inject-date-selection-from-a-dropdown-slicer-into-a-dax-formula/m-p/4279788#M169836</guid>
      <dc:creator>Netope</dc:creator>
      <dc:date>2024-11-12T12:08:25Z</dc:date>
    </item>
  </channel>
</rss>

