<?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: Selected date in slicer to populate a column in a table? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2401211#M62847</link>
    <description>&lt;P&gt;But how do I configure the days between the Date Received and the Selected Date value in the slicer?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2022 16:21:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-17T16:21:19Z</dc:date>
    <item>
      <title>Selected date in slicer to populate a column in a table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2393157#M62320</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am hoping someone has a great solution for this.&amp;nbsp; Is there a way to pick a date from a slicer and have that populate a column in a table with that date value?&amp;nbsp; So I could then create a datediff calculation off it and another "received" date in the table?&amp;nbsp; I know you can capture the value in a measure, but that doesn't help me when I'm trying to calculate for all the records in my table that have various received dates and then group the days (0-15 and &amp;gt; 15).&amp;nbsp; I want to display a chart that groups the total number of orders in these two categories.&amp;nbsp; A measure will not allow that.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 16:50:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2393157#M62320</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-14T16:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Selected date in slicer to populate a column in a table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2393393#M62336</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;There's several ways to group or bin the data. If you can share your data model(sample) and expecteed result, I beleive there is a way to separate those two groups in a visual.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 19:03:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2393393#M62336</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-03-14T19:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Selected date in slicer to populate a column in a table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2393509#M62345</link>
      <description>&lt;P&gt;I have put the link to the sample down below.&amp;nbsp; I would like the date chosen in the slicer to populate a column in the sample table so I can calculature the difference between the date received and selected date.&amp;nbsp; Then bucket those days by 0-15 and &amp;gt;15.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1HabW0zMpDNeqSEMU0nKoSBRn47_u01kZ/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1HabW0zMpDNeqSEMU0nKoSBRn47_u01kZ/view?usp=sharing&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 20:30:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2393509#M62345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-14T20:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Selected date in slicer to populate a column in a table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2393672#M62361</link>
      <description>&lt;P&gt;Hi Kristisabo:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The issue calculate columns/tables&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;are computed during database loading and then stored in the model, they&amp;nbsp;&lt;STRONG&gt;do not&lt;/STRONG&gt;&amp;nbsp;respond to&amp;nbsp; selections on the Slicers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it is not possible to&amp;nbsp;&lt;SPAN&gt;create a calculate column/table can change dynamically with user selections on the Slicer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We can definitely count the occrances of the two status's.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Count &amp;lt; 15 = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Data&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Data[Open Category]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"&amp;gt;15"&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;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Count 0- 15 = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Data&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Data[Open Category]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"0-15"&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;If you has the other date for each row it would be no problem o figure out the service level days and after than they could be bucketed with &amp;lt; 15 days and over 15 days, but with ship date/ fulfillmet date we can even do that.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I beleive if you get both dates for each transaction, your request can be handled.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;That's the best I know for now.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Mar 2022 00:04:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2393672#M62361</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-03-15T00:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Selected date in slicer to populate a column in a table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2395464#M62479</link>
      <description>&lt;P&gt;Thank you so much for your help.&amp;nbsp; However I needed to be able to calculate the number of days from received to date selected and then have a column where the category "0-15 or &amp;gt;15" would be filled in.&amp;nbsp; And then tally those up.&amp;nbsp; Sorry, I didn't explain it well. The column in which I provided in the sample containing the category was for providing what I wanted the end result to look like.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 13:54:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2395464#M62479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-15T13:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Selected date in slicer to populate a column in a table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2399910#M62746</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try to create measures for each group, and then manually enter a disconnected group table. Please refer to:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;G_&amp;gt;15 = 
var value_ = IF(ISFILTERED(Dates[Dates]),SELECTEDVALUE(Dates[Dates]),TODAY())
return CALCULATE(COUNT('Sample'[Order #]),FILTER('Sample',ABS(DATEDIFF('Sample'[Date Received],value_,DAY))&amp;gt;15))&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;G_0-15 = 
var value_ = IF(ISFILTERED(Dates[Dates]),SELECTEDVALUE(Dates[Dates]),TODAY())
return CALCULATE(COUNT('Sample'[Order #]),FILTER('Sample',ABS(DATEDIFF('Sample'[Date Received],value_,DAY))&amp;lt;15))&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Measure = SWITCH(TRUE(),
            SELECTEDVALUE('Table'[Open Category])="&amp;gt;15",'Sample'[G_&amp;gt;15],
            SELECTEDVALUE('Table'[Open Category])="0-15",'Sample'[G_0-15])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Liang&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 07:51:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2399910#M62746</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2022-03-17T07:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Selected date in slicer to populate a column in a table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2401211#M62847</link>
      <description>&lt;P&gt;But how do I configure the days between the Date Received and the Selected Date value in the slicer?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 16:21:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2401211#M62847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-17T16:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Selected date in slicer to populate a column in a table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2402150#M62934</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What fields do you need to use in the slicer? I don't understand. Please provide the results you expect based on your sample data&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Liang&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 02:40:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2402150#M62934</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2022-03-18T02:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Selected date in slicer to populate a column in a table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2403356#M63000</link>
      <description>&lt;P&gt;Hello Liang,&lt;/P&gt;&lt;P&gt;I have a date table that I use to populate the date slicer.&amp;nbsp; I want to select a date from the slicer and then have a calculated column that would determine the number of days between the date received for each record in the sample data table and the date selected from the slicer.&amp;nbsp; This will return a different number for each record because not all records were received on the same date.&amp;nbsp; Then based on the value it returns, it would categorize it as under 15 days "0-15" or over 15 days "&amp;gt;15".&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that make sense? I hope I am doing a good job explaining.&amp;nbsp; Sorry if this is confusing!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 13:16:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selected-date-in-slicer-to-populate-a-column-in-a-table/m-p/2403356#M63000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-18T13:16:28Z</dc:date>
    </item>
  </channel>
</rss>

