<?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: Use slicer to filter column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-slicer-to-filter-column/m-p/3016415#M102446</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hey Aniya Zhang,&lt;BR /&gt;Thank you for replying. Your method works fine for numerical data.&lt;BR /&gt;If we compare our dataset ..you have &lt;STRONG&gt;Value in Numerical&lt;/STRONG&gt;, whereas in my data the &lt;STRONG&gt;Values are in String&lt;/STRONG&gt; Format. i &lt;STRONG&gt;can't use the 'My Measure' which has the SUM function&lt;/STRONG&gt;.. any walkaround for the same ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 10:01:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-12T10:01:43Z</dc:date>
    <item>
      <title>Use slicer to filter column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-slicer-to-filter-column/m-p/3013249#M102224</link>
      <description>&lt;P&gt;I want to use my quarter year column as a slicer, when I select a single quarter year, the resulting outcome in the matrix table should give me the output as &lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT face="book antiqua,palatino"&gt;'Selected quarter from the slicer and next two quarters'&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt; as shown in the below image. Can someone suggest any method or know the proper DAX for the following outcome?&amp;nbsp; &amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 08:39:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-slicer-to-filter-column/m-p/3013249#M102224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-11T08:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Use slicer to filter column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-slicer-to-filter-column/m-p/3013367#M102233</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 09:25:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-slicer-to-filter-column/m-p/3013367#M102233</guid>
      <dc:creator>Mahesh0016</dc:creator>
      <dc:date>2023-01-11T09:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Use slicer to filter column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-slicer-to-filter-column/m-p/3015514#M102382</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, you want to "&lt;SPAN&gt;Use slicer to filter column".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here are the steps you can refer to:&lt;BR /&gt;(1)This is my test data:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(2)We can click "New Table" to&amp;nbsp; create a date&amp;nbsp; table as a slicer:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Date = ADDCOLUMNS( 
CALENDAR(FIRSTDATE('Table'[Date]),LASTDATE('Table'[Date])),
"Year", YEAR ( [Date] ),
"Quarter", ROUNDUP(MONTH([Date])/3,0),
"Year_Quarter", year([date]) &amp;amp; "Q" &amp;amp; ROUNDUP(MONTH([Date])/3,0) 
)&lt;/LI-CODE&gt;
&lt;P&gt;And we do not create any relationship between two tables.&lt;/P&gt;
&lt;P&gt;And in the raw visual i use a measure to show the value:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;My Measure = &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Value]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;(3)Then we can create a measure :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure Test = var _min_quarter_date = MIN('Date'[Date])
var _end_quarter_date = EOMONTH(_min_quarter_date ,8)
var _cur_date = MIN('Table'[Date])
return
IF(_cur_date&amp;gt;=_min_quarter_date &amp;amp;&amp;amp; _cur_date &amp;lt;= _end_quarter_date , [My Measure] , BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;(4)Then we can put the fields we need on the visual and we can meet your need:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 03:11:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-slicer-to-filter-column/m-p/3015514#M102382</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2023-01-12T03:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Use slicer to filter column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-slicer-to-filter-column/m-p/3016415#M102446</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hey Aniya Zhang,&lt;BR /&gt;Thank you for replying. Your method works fine for numerical data.&lt;BR /&gt;If we compare our dataset ..you have &lt;STRONG&gt;Value in Numerical&lt;/STRONG&gt;, whereas in my data the &lt;STRONG&gt;Values are in String&lt;/STRONG&gt; Format. i &lt;STRONG&gt;can't use the 'My Measure' which has the SUM function&lt;/STRONG&gt;.. any walkaround for the same ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 10:01:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-slicer-to-filter-column/m-p/3016415#M102446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-12T10:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use slicer to filter column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-slicer-to-filter-column/m-p/3016430#M102449</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you are using the "String" type of data, please use the "Max()" function:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/max-function-dax" target="_blank"&gt;MAX function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 10:07:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-slicer-to-filter-column/m-p/3016430#M102449</guid>
      <dc:creator>v-robertq-msft</dc:creator>
      <dc:date>2023-01-12T10:07:01Z</dc:date>
    </item>
  </channel>
</rss>

