<?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: Slicer in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Slicer/m-p/2407238#M35088</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for replying. This method is what I expected.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 16:56:35 GMT</pubDate>
    <dc:creator>mason23</dc:creator>
    <dc:date>2022-03-21T16:56:35Z</dc:date>
    <item>
      <title>Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Slicer/m-p/2396529#M34986</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;How do I put this into a slicer where it has only two selections (yes or no)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Jan&lt;/TD&gt;&lt;TD&gt;Feb&lt;/TD&gt;&lt;TD&gt;Mar&lt;/TD&gt;&lt;TD&gt;April&lt;/TD&gt;&lt;TD&gt;May&lt;/TD&gt;&lt;TD&gt;Jun&lt;/TD&gt;&lt;TD&gt;Jul&lt;/TD&gt;&lt;TD&gt;Aug&lt;/TD&gt;&lt;TD&gt;Sept&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;No&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;no&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 00:58:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Slicer/m-p/2396529#M34986</guid>
      <dc:creator>mason23</dc:creator>
      <dc:date>2022-03-16T00:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Slicer/m-p/2399140#M35006</link>
      <description>&lt;P&gt;Please provide a more detailed explanation of what you are aiming to achieve. What have you tried and where are you stuck?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 00:04:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Slicer/m-p/2399140#M35006</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-03-17T00:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Slicer/m-p/2402183#M35050</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100816"&gt;@mason23&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I created a sample pbix file(&lt;STRONG&gt;see attachment&lt;/STRONG&gt;) for you, please check whether that is what you want.&lt;/P&gt;
&lt;P&gt;1. &lt;A href="https://docs.microsoft.com/en-us/power-query/add-index-column" target="_self"&gt;Add a index column&lt;/A&gt; in Power Query Editor&lt;/P&gt;
&lt;P&gt;2. Select all columns with month name and &lt;STRONG&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/unpivot-column#unpivot-only-selected-columns" target="_self"&gt;unpivot&lt;/A&gt;&lt;/STRONG&gt; them in &lt;STRONG&gt;Power Query Editor&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_0-1647572280135.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/686225iC06D1814B0D72FB8/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_0-1647572280135.png" alt="yingyinr_0-1647572280135.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WqkwtVtKBknn5cCaGAJwZqxONVRzKJFYLHiPAWmIB", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Jan = _t, Feb = _t, Mar = _t, April = _t, May = _t, Jun = _t, Jul = _t, Aug = _t, Sept = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Jan", type text}, {"Feb", type text}, {"Mar", type text}, {"April", type text}, {"May", type text}, {"Jun", type text}, {"Jul", type text}, {"Aug", type text}, {"Sept", type text}}),
    #"Added Index" = Table.AddIndexColumn(#"Changed Type", "Index", 1, 1, Int64.Type),
    #"Reordered Columns" = Table.ReorderColumns(#"Added Index",{"Index", "Jan", "Feb", "Mar", "April", "May", "Jun", "Jul", "Aug", "Sept"}),
    #"Unpivoted Only Selected Columns" = Table.Unpivot(#"Reordered Columns", {"Jan", "Feb", "Mar", "April", "May", "Jun", "Jul", "Aug", "Sept"}, "Months", "Status")
in
    #"Unpivoted Only Selected Columns"&lt;/LI-CODE&gt;
&lt;P&gt;3. Create a slicer using the field "Status"&lt;/P&gt;
&lt;P&gt;4. Create a matrix visual(&lt;STRONG&gt;Rows:&lt;/STRONG&gt; Index&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Columns&lt;/STRONG&gt;:Months&lt;SPAN&gt;&amp;nbsp; &lt;STRONG&gt;Values:&lt;/STRONG&gt; Status&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_1-1647572477444.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/686230iB1F2C584D129F333/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_1-1647572477444.png" alt="yingyinr_1-1647572477444.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the above one is not your expected result, please provide some raw data(exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file in order to provide you a suitable solution. Thank you.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 03:04:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Slicer/m-p/2402183#M35050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-18T03:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Slicer/m-p/2407238#M35088</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for replying. This method is what I expected.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 16:56:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Slicer/m-p/2407238#M35088</guid>
      <dc:creator>mason23</dc:creator>
      <dc:date>2022-03-21T16:56:35Z</dc:date>
    </item>
  </channel>
</rss>

