<?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: Next and Previous Buttons To Navigate Through a Single Select Slicer in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Next-and-Previous-Buttons-To-Navigate-Through-a-Single-Select/m-p/4887359#M12954</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/820120"&gt;@rajasaadk_98&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;same for me, would be keen to know how you set up step 3?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards, Mauro&lt;/P&gt;</description>
    <pubDate>Thu, 27 Nov 2025 08:24:39 GMT</pubDate>
    <dc:creator>Mauro89</dc:creator>
    <dc:date>2025-11-27T08:24:39Z</dc:date>
    <item>
      <title>Next and Previous Buttons To Navigate Through a Single Select Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Next-and-Previous-Buttons-To-Navigate-Through-a-Single-Select/m-p/4171171#M10764</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;I have a single - select drop down menu, but the drop down has ~1500 names, it's not user friendly to go to the next person. I'd like to include a next and previous button . I have created an index column to use +1/-1 to navigate through my list.&lt;/P&gt;&lt;P&gt;I have separate cards and a table that provides the current name, next name, and previous name, all currently showing the data correctly as I select random names in my drop down (in other words I have the correct DAX statements)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attempted to do this with bookmarks - but because there are so many names and bookmarks are static, this is not a great avenue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attempted to do this with page navigation but it doesn't leverage the logic from my measures or calculated columns. It works in the sense that it toggles between previously tested names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am now attempting to click on the name from the table in hopes that the next/previous name may update the slicer&lt;/P&gt;&lt;P&gt;Has anyone come across this exercise before?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 15:40:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Next-and-Previous-Buttons-To-Navigate-Through-a-Single-Select/m-p/4171171#M10764</guid>
      <dc:creator>bmar</dc:creator>
      <dc:date>2024-09-24T15:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Next and Previous Buttons To Navigate Through a Single Select Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Next-and-Previous-Buttons-To-Navigate-Through-a-Single-Select/m-p/4231187#M11523</link>
      <description>&lt;P&gt;What you're trying to achieve with a "Next" and "Previous" button functionality for a dropdown with 1500 names can be done using DAX measures and Power BI's visual interactivity, but there isn't a direct way to modify a slicer selection via buttons. However, you can create a navigation mechanism that updates your report visuals without directly modifying the slicer itself.&lt;/P&gt;&lt;H3&gt;Here’s a possible approach:&lt;/H3&gt;&lt;H3&gt;1. &lt;STRONG&gt;Create an Index Column for Navigation&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;You've already created an index column, which is great! This will be used to navigate between names.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Name Table&lt;/STRONG&gt;:Name Index &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Alice&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Bob&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Charlie&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;2. &lt;STRONG&gt;DAX Measures for Current, Next, and Previous Names&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;You'll need DAX measures to determine the current, next, and previous names based on the selected name. You might already have this part working, but here’s how you can structure it:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Current Name&lt;/STRONG&gt;:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;DAX&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Copy code&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;SelectedName = SELECTEDVALUE('Names'[Name])&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Next Name&lt;/STRONG&gt;:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;DAX&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Copy code&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;NextName = CALCULATE( MIN('Names'[Name]), FILTER( 'Names', 'Names'[Index] &amp;gt; SELECTEDVALUE('Names'[Index]) ) )&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Previous Name&lt;/STRONG&gt;:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;DAX&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Copy code&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;PreviousName = CALCULATE( MAX('Names'[Name]), FILTER( 'Names', 'Names'[Index] &amp;lt; SELECTEDVALUE('Names'[Index]) ) )&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;3. &lt;STRONG&gt;Create Buttons for "Next" and "Previous"&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;Power BI doesn't have native "Next" or "Previous" buttons that manipulate slicers, but you can simulate the behavior using &lt;STRONG&gt;Bookmarks&lt;/STRONG&gt;, &lt;STRONG&gt;DAX measures&lt;/STRONG&gt;, and &lt;STRONG&gt;Selection Pane&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Next Button&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a button that uses a DAX measure to calculate the &lt;STRONG&gt;Next Name&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Use a conditional formatting rule or set up a custom visual to show the next name when this button is clicked.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You won't be able to directly change the slicer’s selection, but you can dynamically update visuals (e.g., Cards, Tables) that display the next name.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Previous Button&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Similar to the &lt;STRONG&gt;Next Button&lt;/STRONG&gt;, create a button for the &lt;STRONG&gt;Previous Name&lt;/STRONG&gt; using the DAX measure from above.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;4. &lt;STRONG&gt;Displaying the Names in Visuals&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;Rather than trying to directly interact with the slicer, you can have visuals (such as &lt;STRONG&gt;cards or tables&lt;/STRONG&gt;) display the &lt;STRONG&gt;current, next, and previous names&lt;/STRONG&gt; based on the measures. Clicking "Next" and "Previous" buttons can update these visuals.&lt;/P&gt;&lt;H3&gt;5. &lt;STRONG&gt;Use Dynamic Filters or Custom Visuals&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;If you need more interactivity and flexibility, consider using a custom visual, such as a table or slicer visual that supports more advanced interactions. You could dynamically filter the data based on the measures for current, next, and previous names and update the report content accordingly.&lt;/P&gt;&lt;H3&gt;6. &lt;STRONG&gt;Power BI Visual Customizations&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;Here’s a way to create visual buttons with a conditional action:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Place the "Next" and "Previous" buttons in your report.&lt;/LI&gt;&lt;LI&gt;Link these buttons to trigger changes in your visuals, rather than directly manipulating the slicer.&lt;/LI&gt;&lt;LI&gt;Use &lt;STRONG&gt;card visuals&lt;/STRONG&gt; to display the names and dynamically change them based on button clicks.&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Important Note:&lt;/H3&gt;&lt;P&gt;Power BI doesn't support directly modifying slicer selections programmatically, so the most feasible way is to build your navigation system through measures and interact with the visuals via &lt;STRONG&gt;buttons&lt;/STRONG&gt; and &lt;STRONG&gt;DAX logic&lt;/STRONG&gt;.&lt;/P&gt;&lt;H3&gt;Summary:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;Use your index column and DAX measures to determine the &lt;STRONG&gt;current&lt;/STRONG&gt;, &lt;STRONG&gt;next&lt;/STRONG&gt;, and &lt;STRONG&gt;previous names&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Instead of modifying the slicer, create &lt;STRONG&gt;card visuals&lt;/STRONG&gt; or &lt;STRONG&gt;tables&lt;/STRONG&gt; that display the names dynamically.&lt;/LI&gt;&lt;LI&gt;Implement &lt;STRONG&gt;Next&lt;/STRONG&gt; and &lt;STRONG&gt;Previous buttons&lt;/STRONG&gt; with DAX logic to update your report visuals accordingly.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This approach gives the user a similar experience as navigating through names using buttons without needing to interact with the slicer directly.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 05:59:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Next-and-Previous-Buttons-To-Navigate-Through-a-Single-Select/m-p/4231187#M11523</guid>
      <dc:creator>rajasaadk_98</dc:creator>
      <dc:date>2024-10-07T05:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Next and Previous Buttons To Navigate Through a Single Select Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Next-and-Previous-Buttons-To-Navigate-Through-a-Single-Select/m-p/4657896#M12424</link>
      <description>&lt;P&gt;Hi, I know this is an older post, but I'm replying hoping I can get some clarity on the solution above. I'm trying to add PREV / NEXT buttons to move to the next row of the data table in my visual. I've completed Step 2 and created the DAX measures, but I can't figure out how to format the button to trigger these measures. Could you expand on Step 3? Thank you so much!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 15:53:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Next-and-Previous-Buttons-To-Navigate-Through-a-Single-Select/m-p/4657896#M12424</guid>
      <dc:creator>heatherforman</dc:creator>
      <dc:date>2025-04-17T15:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Next and Previous Buttons To Navigate Through a Single Select Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Next-and-Previous-Buttons-To-Navigate-Through-a-Single-Select/m-p/4887359#M12954</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/820120"&gt;@rajasaadk_98&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;same for me, would be keen to know how you set up step 3?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards, Mauro&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 08:24:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Next-and-Previous-Buttons-To-Navigate-Through-a-Single-Select/m-p/4887359#M12954</guid>
      <dc:creator>Mauro89</dc:creator>
      <dc:date>2025-11-27T08:24:39Z</dc:date>
    </item>
  </channel>
</rss>

