<?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: Call bookmark while changing the Slicer in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Call-bookmark-while-changing-the-Slicer/m-p/1847882#M29469</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI doesn't support to show or hide visual/bookmark based on slicer.&lt;/P&gt;
&lt;P&gt;You can try my workaround.&lt;/P&gt;
&lt;P&gt;Firstly build some different pages and hide other pages except of Home page.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 369px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516202iDA74BD73CB8A1E41/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Build a table named 'navigation' as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 155px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516204i3FBCE14A0798C32A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Build a slicer by Location column. Make sure that you have select Single Select in Format.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 176px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516208iE05E109B1F8C266F/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Build a measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Navigation Page = SELECTEDVALUE('navigation'[Location],"Home")&lt;/LI-CODE&gt;
&lt;P&gt;Build a Button, Select Page navigation Type in Action and add 'FX' Destination in Action.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516216iEF54B209659A9FAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now you can go to different pages with different bookmarks by button and slicer.&lt;/P&gt;
&lt;P&gt;Ex: Select Program in Slicer, and click Button.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 575px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516222iD5D388000AED20C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We will go to Program page. In this page we can use Bookmark1 and Bookmark2.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 388px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516223iCDCBABBBE53D4F5C/image-dimensions/388x380?v=v2" width="388" height="380" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Select Program Qol in Slicer and click Button.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 438px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516225i3F5F8FA1B9961CC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We will go to Program Qol page. In this page we can use Bookmark2.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 313px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516227i9242A647334D5D8C/image-dimensions/313x451?v=v2" width="313" height="451" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can download the pbix file from this &lt;A href="https://qiuyunus-my.sharepoint.com/:u:/g/personal/tongzhou_qiuyunus_onmicrosoft_com/EWosrbDrnSpJrsBj9_y8UtABeFHf5t1ff4prXh1zsw4LvQ?e=xP85ya" target="_self"&gt;link&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;For more details you can refer to this &lt;A href="https://debug.to/944/power-bi-select-bookmark-based-on-slicer" target="_self"&gt;blog.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rico Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 06:23:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-18T06:23:52Z</dc:date>
    <item>
      <title>Call bookmark while changing the Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Call-bookmark-while-changing-the-Slicer/m-p/1844298#M29436</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is an requirement that I want to call the boomark on the change of the Slicer. There are 2 bookmark and which need to call, it depend on the Slicer value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My apporach is that firstly, we will call "Dataselected" event then "Get Slicer State".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing challenge while picking the visual ID from the dataselected event. It will be great, if anyone did the same thing in the past and can provide the code for the same. It will great help of me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Ashwani&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 08:28:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Call-bookmark-while-changing-the-Slicer/m-p/1844298#M29436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-16T08:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Call bookmark while changing the Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Call-bookmark-while-changing-the-Slicer/m-p/1847882#M29469</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI doesn't support to show or hide visual/bookmark based on slicer.&lt;/P&gt;
&lt;P&gt;You can try my workaround.&lt;/P&gt;
&lt;P&gt;Firstly build some different pages and hide other pages except of Home page.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 369px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516202iDA74BD73CB8A1E41/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Build a table named 'navigation' as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 155px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516204i3FBCE14A0798C32A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Build a slicer by Location column. Make sure that you have select Single Select in Format.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 176px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516208iE05E109B1F8C266F/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Build a measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Navigation Page = SELECTEDVALUE('navigation'[Location],"Home")&lt;/LI-CODE&gt;
&lt;P&gt;Build a Button, Select Page navigation Type in Action and add 'FX' Destination in Action.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516216iEF54B209659A9FAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now you can go to different pages with different bookmarks by button and slicer.&lt;/P&gt;
&lt;P&gt;Ex: Select Program in Slicer, and click Button.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 575px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516222iD5D388000AED20C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We will go to Program page. In this page we can use Bookmark1 and Bookmark2.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 388px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516223iCDCBABBBE53D4F5C/image-dimensions/388x380?v=v2" width="388" height="380" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Select Program Qol in Slicer and click Button.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 438px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516225i3F5F8FA1B9961CC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We will go to Program Qol page. In this page we can use Bookmark2.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 313px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/516227i9242A647334D5D8C/image-dimensions/313x451?v=v2" width="313" height="451" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can download the pbix file from this &lt;A href="https://qiuyunus-my.sharepoint.com/:u:/g/personal/tongzhou_qiuyunus_onmicrosoft_com/EWosrbDrnSpJrsBj9_y8UtABeFHf5t1ff4prXh1zsw4LvQ?e=xP85ya" target="_self"&gt;link&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;For more details you can refer to this &lt;A href="https://debug.to/944/power-bi-select-bookmark-based-on-slicer" target="_self"&gt;blog.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rico Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 06:23:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Call-bookmark-while-changing-the-Slicer/m-p/1847882#M29469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-18T06:23:52Z</dc:date>
    </item>
  </channel>
</rss>

