<?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: Change slicer fields based on a different slicer selection in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4596942#M176012</link>
    <description>&lt;P&gt;Hi Ibendlin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer. Can you please let me know how to create the new measure&amp;nbsp;&lt;SPAN&gt;that probe the SELECTEDVALUE of the first slicer (TotalUnits or TotalGrossSales) and will change&amp;nbsp;a second slicer to display&amp;nbsp;("PriorDayUnits"), ("PriorWeekUnits"), ("PriorMonthUnits"), ("PriorYearUnits") if&amp;nbsp; TotalUnits is selected in slicer 1 or&amp;nbsp;("PriorDayGrossSales"), ("PriorWeekGrossSales"), ("PriorMonthGrossSales"), ("PriorYearGrossSales") if TotalGrossSales is selected in slicer 1?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Mar 2025 16:30:09 GMT</pubDate>
    <dc:creator>morani</dc:creator>
    <dc:date>2025-03-05T16:30:09Z</dc:date>
    <item>
      <title>Change slicer fields based on a different slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4590785#M175823</link>
      <description>&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 8 measures:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;("PriorDayUnits"&lt;/SPAN&gt;&lt;SPAN&gt;), (&lt;/SPAN&gt;&lt;SPAN&gt;"PriorWeekUnits"&lt;/SPAN&gt;&lt;SPAN&gt;), (&lt;/SPAN&gt;&lt;SPAN&gt;"PriorMonthUnits"&lt;/SPAN&gt;&lt;SPAN&gt;), (&lt;/SPAN&gt;&lt;SPAN&gt;"PriorYearUnits"&lt;/SPAN&gt;&lt;SPAN&gt;) under field parameters called Comparison1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"PriorDayGrossSales"&lt;/SPAN&gt;&lt;SPAN&gt;), (&lt;/SPAN&gt;&lt;SPAN&gt;"PriorWeekGrossSales"&lt;/SPAN&gt;&lt;SPAN&gt;), (&lt;/SPAN&gt;&lt;SPAN&gt;"PriorMonthGrossSales"&lt;/SPAN&gt;&lt;SPAN&gt;), (&lt;/SPAN&gt;&lt;SPAN&gt;"PriorYearGrossSales"&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;nbsp;under field parameters called Comparison2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have a field parameter slicer (that is called dynamic measure) and chooses between TotalUnits and TotalGrossSales.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I want to create a second slicer that will display&amp;nbsp;("PriorDayUnits"), ("PriorWeekUnits"), ("PriorMonthUnits"), ("PriorYearUnits") if&amp;nbsp; TotalUnits is selected in slicer 1 or&amp;nbsp;("PriorDayGrossSales"), ("PriorWeekGrossSales"), ("PriorMonthGrossSales"), ("PriorYearGrossSales") if TotalGrossSales is selected in slicer 1.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;How do I do that?&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Appreciate any help&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 Feb 2025 22:47:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4590785#M175823</guid>
      <dc:creator>morani</dc:creator>
      <dc:date>2025-02-28T22:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change slicer fields based on a different slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4590963#M175829</link>
      <description>&lt;P&gt;1. Make sure your first field parameter slicer is set to single select&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. delete all the other measures and create new measures that probe the SELECTEDVALUE of the first slicer and compute the required results.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2025 01:00:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4590963#M175829</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-03-01T01:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Change slicer fields based on a different slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4591001#M175830</link>
      <description>&lt;P&gt;To achieve this functionality in Power BI, you can create a dynamic measure slicer that changes based on the selection in the first slicer. Here's how you can do it step by step:&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Step 1: Create a Field Parameter for the Second Slicer&lt;BR /&gt;1. Go to the **Modeling** tab in Power BI and click on **New Parameter** &amp;gt; **Fields**.&lt;BR /&gt;2. Create two field parameters:&lt;BR /&gt;- **Comparison1**: Includes `PriorDayUnits`, `PriorWeekUnits`, `PriorMonthUnits`, `PriorYearUnits`.&lt;BR /&gt;- **Comparison2**: Includes `PriorDayGrossSales`, `PriorWeekGrossSales`, `PriorMonthGrossSales`, `PriorYearGrossSales`.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Step 2: Create a Measure to Dynamically Switch Between Field Parameters**&lt;BR /&gt;Create a measure that dynamically selects the appropriate field parameter based on the selection in the first slicer (`TotalUnits` or `TotalGrossSales`).&lt;/P&gt;&lt;P&gt;```DAX&lt;BR /&gt;DynamicComparison =&lt;BR /&gt;SWITCH(&lt;BR /&gt;SELECTEDVALUE('DynamicMeasure'[Measure]), // Replace 'DynamicMeasure' with the name of your first slicer table&lt;BR /&gt;"TotalUnits", SELECTEDVALUE(Comparison1[Comparison1]),&lt;BR /&gt;"TotalGrossSales", SELECTEDVALUE(Comparison2[Comparison2])&lt;BR /&gt;)&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Step 3: Create the Second Slicer**&lt;BR /&gt;1. Add a slicer to your report.&lt;BR /&gt;2. Bind the slicer to the **DynamicComparison** measure.&lt;BR /&gt;3. This slicer will now dynamically show either the `Comparison1` or `Comparison2` options based on the selection in the first slicer.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Step 4: Configure Interactions Between Slicers**&lt;BR /&gt;1. Ensure that the first slicer (`TotalUnits` or `TotalGrossSales`) is connected to the second slicer.&lt;BR /&gt;2. Use the **Edit Interactions** feature in Power BI to control how the first slicer filters the second slicer.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Step 5: Test the Dynamic Behavior**&lt;BR /&gt;- Select `TotalUnits` in the first slicer, and the second slicer should display `PriorDayUnits`, `PriorWeekUnits`, `PriorMonthUnits`, `PriorYearUnits`.&lt;BR /&gt;- Select `TotalGrossSales` in the first slicer, and the second slicer should display `PriorDayGrossSales`, `PriorWeekGrossSales`, `PriorMonthGrossSales`, `PriorYearGrossSales`.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2025 02:44:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4591001#M175830</guid>
      <dc:creator>HiteshDataXpert</dc:creator>
      <dc:date>2025-03-01T02:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change slicer fields based on a different slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4595490#M175980</link>
      <description>&lt;P&gt;Thank you so much for your thorough answer. I have a few more questions:&lt;/P&gt;&lt;P&gt;1. I created the second slicer, how do I bind it to&amp;nbsp;&lt;SPAN&gt;the **DynamicComparison** measure (Step3 - #2)?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. How do I connect the first slicer to the second one (step4 - #1)?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Where do I find the&amp;nbsp;**Edit Interactions** feature in Power BI&amp;nbsp;(step4 - #2)?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 19:34:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4595490#M175980</guid>
      <dc:creator>morani</dc:creator>
      <dc:date>2025-03-04T19:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Change slicer fields based on a different slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4596942#M176012</link>
      <description>&lt;P&gt;Hi Ibendlin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer. Can you please let me know how to create the new measure&amp;nbsp;&lt;SPAN&gt;that probe the SELECTEDVALUE of the first slicer (TotalUnits or TotalGrossSales) and will change&amp;nbsp;a second slicer to display&amp;nbsp;("PriorDayUnits"), ("PriorWeekUnits"), ("PriorMonthUnits"), ("PriorYearUnits") if&amp;nbsp; TotalUnits is selected in slicer 1 or&amp;nbsp;("PriorDayGrossSales"), ("PriorWeekGrossSales"), ("PriorMonthGrossSales"), ("PriorYearGrossSales") if TotalGrossSales is selected in slicer 1?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 16:30:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4596942#M176012</guid>
      <dc:creator>morani</dc:creator>
      <dc:date>2025-03-05T16:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change slicer fields based on a different slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4597484#M176029</link>
      <description>&lt;P&gt;Use SELECTEDVALUE or VALUES.&amp;nbsp; that will give you a single column table that you can use directly as a filter.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 01:21:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4597484#M176029</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-03-06T01:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Change slicer fields based on a different slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4678585#M179194</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="735261" data-lia-user-login="morani" class="lia-mention lia-mention-user"&gt;morani&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We haven’t heard back from you regarding our previous response and wanted to check if your issue has been resolved.&lt;/P&gt;
&lt;P&gt;If it has, please consider clicking “Accept Answer” and “Yes” if you found the response helpful.&lt;BR /&gt;If you still have any questions or need further assistance, feel free to let us know — we're happy to help!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 03 May 2025 18:00:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4678585#M179194</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-05-03T18:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change slicer fields based on a different slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4684590#M179416</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="735261" data-lia-user-login="morani" class="lia-mention lia-mention-user"&gt;morani&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Has your issue been resolved? If a community member's response addressed your query, please consider marking it as Accepted Answer and click Yes if you found it helpful.&lt;/P&gt;
&lt;P&gt;If you have any further questions, feel free to reach out.&lt;BR /&gt;Thank you for being a valued member of the Microsoft Fabric Community Forum!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 11:15:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4684590#M179416</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-05-08T11:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change slicer fields based on a different slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4690194#M179612</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="735261" data-lia-user-login="morani" class="lia-mention lia-mention-user"&gt;morani&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;We haven’t heard back from you regarding our previous response and wanted to check if your issue has been resolved.&lt;/P&gt;
&lt;P&gt;If it has, please consider clicking “Accept Answer” and “Yes” if you found the response helpful.&lt;BR /&gt;If you still have any questions or need further assistance, feel free to let us know — we're happy to help!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 07:10:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-slicer-fields-based-on-a-different-slicer-selection/m-p/4690194#M179612</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-05-13T07:10:30Z</dc:date>
    </item>
  </channel>
</rss>

