<?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: Help with customised Slicer in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Help-with-customised-Slicer/m-p/4324686#M11904</link>
    <description>&lt;P&gt;Create a mapping table that links each solution to the individual items.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WclTSUTIyVYrViVZy0nEGcoyNoBwXHVcQ1xjMddVxAymEcBx1oEpNlGJjAQ==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Solution = _t, cost = _t]),
    #"Split Column by Delimiter" = Table.ExpandListColumn(Table.TransformColumns(Source, {{"Solution", Splitter.SplitTextByDelimiter(",", QuoteStyle.Csv), let itemType = (type nullable text) meta [Serialized.Text = true] in type {itemType}}}), "Solution"),
    #"Removed Duplicates" = Table.Distinct(#"Split Column by Delimiter", {"Solution"}),
    #"Removed Columns" = Table.RemoveColumns(#"Removed Duplicates",{"cost"})
in
    #"Removed Columns"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_0-1733964176149.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1213773i76CD68077F36BB33/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_0-1733964176149.png" alt="lbendlin_0-1733964176149.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Solutions,
    #"Added Custom" = Table.AddColumn(Source, "Custom", (k)=&amp;gt; Table.SelectRows(Facts, each List.Contains(Text.Split([Solution],","),k[Solution]))),
    #"Expanded Custom" = Table.ExpandTableColumn(#"Added Custom", "Custom", {"Solution"}, {"Match"})
in
    #"Expanded Custom"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_1-1733964368287.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1213774iC3E55ED1786E958A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_1-1733964368287.png" alt="lbendlin_1-1733964368287.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2024 00:46:51 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-12-12T00:46:51Z</dc:date>
    <item>
      <title>Help with customised Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Help-with-customised-Slicer/m-p/4323403#M11899</link>
      <description>&lt;P&gt;Hi, I am creating a PBI report for my work. There is a column that has multiple text rows. But I need a slicer that selects one of the data points, not the entire column. E.g., in the below table, I have solutions that are not unique. Now I need a filter that gives me unique value, e.g. The filter option shows individual values, e.g., A, B&amp;nbsp; C&amp;nbsp; D&amp;nbsp; E&amp;nbsp; F etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your support in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bf7dbdc5-edb0-4270-8f1f-3336b0bbecc7.png" style="width: 146px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1213422iC449DF9533515F17/image-dimensions/146x127?v=v2" width="146" height="127" role="button" title="bf7dbdc5-edb0-4270-8f1f-3336b0bbecc7.png" alt="bf7dbdc5-edb0-4270-8f1f-3336b0bbecc7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&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;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 09:05:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Help-with-customised-Slicer/m-p/4323403#M11899</guid>
      <dc:creator>geetika3110</dc:creator>
      <dc:date>2024-12-11T09:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help with customised Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Help-with-customised-Slicer/m-p/4324686#M11904</link>
      <description>&lt;P&gt;Create a mapping table that links each solution to the individual items.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WclTSUTIyVYrViVZy0nEGcoyNoBwXHVcQ1xjMddVxAymEcBx1oEpNlGJjAQ==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Solution = _t, cost = _t]),
    #"Split Column by Delimiter" = Table.ExpandListColumn(Table.TransformColumns(Source, {{"Solution", Splitter.SplitTextByDelimiter(",", QuoteStyle.Csv), let itemType = (type nullable text) meta [Serialized.Text = true] in type {itemType}}}), "Solution"),
    #"Removed Duplicates" = Table.Distinct(#"Split Column by Delimiter", {"Solution"}),
    #"Removed Columns" = Table.RemoveColumns(#"Removed Duplicates",{"cost"})
in
    #"Removed Columns"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_0-1733964176149.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1213773i76CD68077F36BB33/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_0-1733964176149.png" alt="lbendlin_0-1733964176149.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Solutions,
    #"Added Custom" = Table.AddColumn(Source, "Custom", (k)=&amp;gt; Table.SelectRows(Facts, each List.Contains(Text.Split([Solution],","),k[Solution]))),
    #"Expanded Custom" = Table.ExpandTableColumn(#"Added Custom", "Custom", {"Solution"}, {"Match"})
in
    #"Expanded Custom"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_1-1733964368287.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1213774iC3E55ED1786E958A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_1-1733964368287.png" alt="lbendlin_1-1733964368287.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 00:46:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Help-with-customised-Slicer/m-p/4324686#M11904</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-12-12T00:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help with customised Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Help-with-customised-Slicer/m-p/4325756#M11906</link>
      <description>&lt;P&gt;Thank you for your reply. Highly appreciated. Let me try the same and get back to you. For time being, i used Text filter as a work around&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 10:57:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Help-with-customised-Slicer/m-p/4325756#M11906</guid>
      <dc:creator>geetika3110</dc:creator>
      <dc:date>2024-12-12T10:57:05Z</dc:date>
    </item>
  </channel>
</rss>

