<?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: Is there a way to make a slicer switch between hierarchies based on another slicer's selected value? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-there-a-way-to-make-a-slicer-switch-between-hierarchies-based/m-p/4890125#M186166</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure if I understood your question correctly, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;One of ways is to create an additional column (and name it as "Type") in the field-parameter, something like below.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&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;</description>
    <pubDate>Tue, 02 Dec 2025 03:35:34 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2025-12-02T03:35:34Z</dc:date>
    <item>
      <title>Is there a way to make a slicer switch between hierarchies based on another slicer's selected value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-there-a-way-to-make-a-slicer-switch-between-hierarchies-based/m-p/4890079#M186163</link>
      <description>&lt;P&gt;Greetings! Hoping someone can help me with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the scenario:&lt;/P&gt;&lt;P&gt;I have a slicer called "Type" with values being 1 and 0&lt;/P&gt;&lt;P&gt;From the same table, I created 2 hierarchies:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;State Hierarchy: uses the fields "State", "City"&lt;/LI&gt;&lt;LI&gt;City Hierarchy: uses the fields "City", "Zip Code"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I have another slicer that I'd like to toggle hierarchies (or parameter) depending on what "Type" value is selected.&lt;/P&gt;&lt;P&gt;Is there an easy way to do something like following?&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;SWITCH ( Type,&lt;/P&gt;&lt;P class="lia-indent-padding-left-120px"&gt;0, State Hierarchy&lt;/P&gt;&lt;P class="lia-indent-padding-left-120px"&gt;1, City Hierarchy)&lt;/P&gt;&lt;P class="lia-indent-padding-left-120px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's completely doable with single field names but I can't quite figure out how to use it with hierarchies. I tried using Field Parameters, but it has to use that Parameter itself as a toggle, whereas I need my "Type" value to trigger the switch.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Dec 2025 02:20:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-there-a-way-to-make-a-slicer-switch-between-hierarchies-based/m-p/4890079#M186163</guid>
      <dc:creator>katari_123</dc:creator>
      <dc:date>2025-12-02T02:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make a slicer switch between hierarchies based on another slicer's selected value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-there-a-way-to-make-a-slicer-switch-between-hierarchies-based/m-p/4890121#M186165</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="758211" data-lia-user-login="katari_123" class="lia-mention lia-mention-user"&gt;katari_123&lt;/a&gt;&amp;nbsp;, I think this can be done using a bookmark. This Switch between columns, and where we can use slicer value.&lt;BR /&gt;&lt;BR /&gt;Another one is to create a field parameter. If needed, duplicate the field with a different name. And then create a custom column for your hierarchy and then use that to switch hierarchy&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Check the attached file for both options- Last two pages&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;AxisNew = {
    ("Brand", NAMEOF('Item'[Brand]), 0),
    ("Category", NAMEOF('Item'[Category]), 1),
    ("Sub Category", NAMEOF('Item'[Sub Category]), 2),
    ("Name", NAMEOF('Item'[Name]), 3),
    ("State", NAMEOF('Geography'[State]), 5),
    ("City", NAMEOF('Geography'[City]), 4),
     ("City G", NAMEOF('Geography'[City]), 6)
}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 03:32:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-there-a-way-to-make-a-slicer-switch-between-hierarchies-based/m-p/4890121#M186165</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2025-12-02T03:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make a slicer switch between hierarchies based on another slicer's selected value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-there-a-way-to-make-a-slicer-switch-between-hierarchies-based/m-p/4890125#M186166</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure if I understood your question correctly, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;One of ways is to create an additional column (and name it as "Type") in the field-parameter, something like below.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&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;</description>
      <pubDate>Tue, 02 Dec 2025 03:35:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-there-a-way-to-make-a-slicer-switch-between-hierarchies-based/m-p/4890125#M186166</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2025-12-02T03:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make a slicer switch between hierarchies based on another slicer's selected value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-there-a-way-to-make-a-slicer-switch-between-hierarchies-based/m-p/4890266#M186168</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="758211" data-lia-user-login="katari_123" class="lia-mention lia-mention-user"&gt;katari_123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use Field Parameters for the hierarchies and place that param slicer as toggle.&lt;/P&gt;
&lt;P&gt;Use Bookmarks or Buttons to swap visuals showing different hierarchy slicers based on the "Type" slicer selection.&lt;/P&gt;
&lt;P&gt;Create a disconnected table (Type values) + measures + layered visuals that show/hide based on selection.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 05:45:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-there-a-way-to-make-a-slicer-switch-between-hierarchies-based/m-p/4890266#M186168</guid>
      <dc:creator>Kedar_Pande</dc:creator>
      <dc:date>2025-12-02T05:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make a slicer switch between hierarchies based on another slicer's selected value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-there-a-way-to-make-a-slicer-switch-between-hierarchies-based/m-p/4891057#M186199</link>
      <description>&lt;P&gt;Thanks so much, this solution worked for me! The examples were really helpful. I was also able to create a relationship between the field parameter and table to filter the data, which was exactly what I was looking for&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 20:00:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-there-a-way-to-make-a-slicer-switch-between-hierarchies-based/m-p/4891057#M186199</guid>
      <dc:creator>katari_123</dc:creator>
      <dc:date>2025-12-02T20:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make a slicer switch between hierarchies based on another slicer's selected value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-there-a-way-to-make-a-slicer-switch-between-hierarchies-based/m-p/4891060#M186200</link>
      <description>&lt;P&gt;Thanks! The field parameter solution worked for me. Thanks for including examples, they're really helpful. I'll have to test out the bookmark approach next time.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 20:01:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-there-a-way-to-make-a-slicer-switch-between-hierarchies-based/m-p/4891060#M186200</guid>
      <dc:creator>katari_123</dc:creator>
      <dc:date>2025-12-02T20:01:31Z</dc:date>
    </item>
  </channel>
</rss>

