<?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: Create slicer visual as Dropdown mode in embedded report in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Create-slicer-visual-as-Dropdown-mode-in-embedded-report/m-p/3606581#M46776</link>
    <description>&lt;P&gt;Are you able to find the solution at the end? Appreaciate that you can share it if any solution found&lt;/P&gt;</description>
    <pubDate>Fri, 29 Dec 2023 07:38:18 GMT</pubDate>
    <dc:creator>VincentLai</dc:creator>
    <dc:date>2023-12-29T07:38:18Z</dc:date>
    <item>
      <title>Create slicer visual as Dropdown mode in embedded report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-slicer-visual-as-Dropdown-mode-in-embedded-report/m-p/1774413#M28853</link>
      <description>&lt;P&gt;Hello, I have an embedded solution where I am adding filters an slicers programatically by using the powerbi-client and power-bi-report-authoring javascript packages. I'm doing this to an embedded report in View mode. I am adding slicers by calling &lt;FONT face="courier new,courier" size="2"&gt;page.createVisual("slicer", { ... layout ... })&lt;/FONT&gt;. That is working correctly to add the slicer, but what I need help with is that those slicers appear in List mode, but I need to change them to view mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't seem to find a property to change or a mechanism to do so. I found another post in the community where people were trying to do that via a custom theme, but it sounds like that doesn't work either (&lt;A href="https://community.powerbi.com/t5/Desktop/PowerBI-JSON-Theme-Slicer-Default-Mode-to-Dropdown/m-p/827843)" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/PowerBI-JSON-Theme-Slicer-Default-Mode-to-Dropdown/m-p/827843)&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me understand how to programatically set slicer mode to Dropdown in an embedded report?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 12:22:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-slicer-visual-as-Dropdown-mode-in-embedded-report/m-p/1774413#M28853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-08T12:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create slicer visual as Dropdown mode in embedded report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-slicer-visual-as-Dropdown-mode-in-embedded-report/m-p/1781342#M28939</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;The easiest way is to create a slicer with a drop-down menu directly in PBI Desktop, and then embed the report into your own application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Lionel Chen&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 01:49:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-slicer-visual-as-Dropdown-mode-in-embedded-report/m-p/1781342#M28939</guid>
      <dc:creator>v-lionel-msft</dc:creator>
      <dc:date>2021-04-13T01:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create slicer visual as Dropdown mode in embedded report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-slicer-visual-as-Dropdown-mode-in-embedded-report/m-p/1782426#M28950</link>
      <description>&lt;P&gt;Thank you for the response. However, that doesn't help me in my situation. I really need to be able to create one or more slicers at runtime through the embedded solution. Adding one beforehand doesn't help me.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 12:38:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-slicer-visual-as-Dropdown-mode-in-embedded-report/m-p/1782426#M28950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-13T12:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create slicer visual as Dropdown mode in embedded report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-slicer-visual-as-Dropdown-mode-in-embedded-report/m-p/3606581#M46776</link>
      <description>&lt;P&gt;Are you able to find the solution at the end? Appreaciate that you can share it if any solution found&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 07:38:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-slicer-visual-as-Dropdown-mode-in-embedded-report/m-p/3606581#M46776</guid>
      <dc:creator>VincentLai</dc:creator>
      <dc:date>2023-12-29T07:38:18Z</dc:date>
    </item>
  </channel>
</rss>

