<?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: Dynamic parameter selection for due days in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733676#M181330</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1246057" target="_blank"&gt;@nish18_1990&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the update, please look into the below pbix file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this helped, please mark it as the solution so others can benefit too. And if you found it useful, kudos are always appreciated.&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chaithra E.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jun 2025 14:12:23 GMT</pubDate>
    <dc:creator>v-echaithra</dc:creator>
    <dc:date>2025-06-16T14:12:23Z</dc:date>
    <item>
      <title>Dynamic parameter selection for due days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733291#M181307</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I need a parameter on days selection . If i select Closure in the next 10 calendar days . It should show me the category where the closure date is in next 10 calendar days .&lt;/P&gt;&lt;P&gt;"X" mentioned below would a parameter with dynamic value . Whatever user input there it should show data accordingly .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Closure in the next X calendar days&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my data&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Category&lt;/TD&gt;&lt;TD&gt;Sub Category&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD&gt;Quantity Q2&lt;/TD&gt;&lt;TD&gt;country&lt;/TD&gt;&lt;TD&gt;Closure date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Furniture&lt;/TD&gt;&lt;TD&gt;Chairs&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;China&lt;/TD&gt;&lt;TD&gt;22/07/2025&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Furniture&lt;/TD&gt;&lt;TD&gt;Tables&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;China&lt;/TD&gt;&lt;TD&gt;23/08/2025&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Automobile&lt;/TD&gt;&lt;TD&gt;Cars&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;China&lt;/TD&gt;&lt;TD&gt;21/7/2025&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Automobile&lt;/TD&gt;&lt;TD&gt;Bikes&lt;/TD&gt;&lt;TD&gt;700&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;China&lt;/TD&gt;&lt;TD&gt;21/6/2025&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Furniture&lt;/TD&gt;&lt;TD&gt;Chairs&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;13&lt;/TD&gt;&lt;TD&gt;India&lt;/TD&gt;&lt;TD&gt;21/8/2025&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Furniture&lt;/TD&gt;&lt;TD&gt;Tables&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;22&lt;/TD&gt;&lt;TD&gt;India&lt;/TD&gt;&lt;TD&gt;21/9/2025&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 09:52:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733291#M181307</guid>
      <dc:creator>nish18_1990</dc:creator>
      <dc:date>2025-06-16T09:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic parameter selection for due days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733306#M181308</link>
      <description>&lt;P&gt;Create a numeric parameter ranging from 1 to the maximum number of days you want to be able to filter for. Then create a measure like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Closure date within X days =
VAR ChosenDays = [Num Days Value]
VAR RefDate =
    SELECTEDVALUE ( 'Table'[Closure Date] )
VAR DaysDiff =
    DATEDIFF ( TODAY (), RefDate, DAY )
VAR Result =
    IF ( DaysDiff &amp;lt;= ChosenDays, 1 )
RETURN
    Result
&lt;/LI-CODE&gt;
&lt;P&gt;Add that measure as a filter to your table or matrix visual, set to show only when the value is 1.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 10:07:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733306#M181308</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-06-16T10:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic parameter selection for due days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733463#M181315</link>
      <description>&lt;P&gt;Could you please attach the power bi file for reference&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 11:52:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733463#M181315</guid>
      <dc:creator>nish18_1990</dc:creator>
      <dc:date>2025-06-16T11:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic parameter selection for due days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733603#M181324</link>
      <description>&lt;P&gt;Sorry i did tried it but its not working&amp;nbsp; . I am getting 1 value even if i select any number on parameter . I need like if i select 20 on parameter . It should show categories having closure date in next 20 days from today .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 13:08:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733603#M181324</guid>
      <dc:creator>nish18_1990</dc:creator>
      <dc:date>2025-06-16T13:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic parameter selection for due days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733648#M181327</link>
      <description>&lt;P&gt;Here you go&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 13:42:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733648#M181327</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-06-16T13:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic parameter selection for due days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733672#M181329</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1246057" data-lia-user-login="nish18_1990" class="lia-mention lia-mention-user"&gt;nish18_1990&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Please look into the file attatched below.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 14:14:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733672#M181329</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-06-16T14:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic parameter selection for due days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733676#M181330</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1246057" target="_blank"&gt;@nish18_1990&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the update, please look into the below pbix file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this helped, please mark it as the solution so others can benefit too. And if you found it useful, kudos are always appreciated.&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chaithra E.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 14:12:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4733676#M181330</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-06-16T14:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic parameter selection for due days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4737119#M181441</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1246057" data-lia-user-login="nish18_1990" class="lia-mention lia-mention-user"&gt;nish18_1990&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;May I ask if you have gotten this issue resolved?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Chaithra.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 08:03:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4737119#M181441</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-06-19T08:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic parameter selection for due days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4737651#M181460</link>
      <description>&lt;P&gt;Its not working if i select any numbers , its showing same date .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 12:31:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4737651#M181460</guid>
      <dc:creator>nish18_1990</dc:creator>
      <dc:date>2025-06-19T12:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic parameter selection for due days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4740348#M181547</link>
      <description>&lt;P&gt;This calculation worked but i need to change it a bit as it will give past dates than today as well. I included &amp;gt;today in and condition for Var Result.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 08:22:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-parameter-selection-for-due-days/m-p/4740348#M181547</guid>
      <dc:creator>nish18_1990</dc:creator>
      <dc:date>2025-06-23T08:22:42Z</dc:date>
    </item>
  </channel>
</rss>

