<?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: Select item from slicer by coding in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-item-from-slicer-by-coding/m-p/2154489#M49715</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="30415" data-lia-user-login="Dreamer_Argento" class="lia-mention lia-mention-user"&gt;Dreamer_Argento&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want that certain measure is forced to certain selection you can use as&amp;nbsp; calculate modifier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example if you have measure: Sum('orders'[Salesamount])&lt;BR /&gt;You can force it the certain selection for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calculate(Sum('orders'[Salesamount]),'&lt;STRONG&gt;customer'[Customer Name]=&lt;FONT color="#993300"&gt;"Microsoft"&lt;/FONT&gt;&lt;/STRONG&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other option is to force visuals that use the measure as visual filtter&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Choose the selections and lock it&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&amp;nbsp;&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>Mon, 25 Oct 2021 22:26:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-10-25T22:26:00Z</dc:date>
    <item>
      <title>Select item from slicer by coding</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-item-from-slicer-by-coding/m-p/2153587#M49673</link>
      <description>&lt;P&gt;How can select an item from slicer by coding?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 12:42:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-item-from-slicer-by-coding/m-p/2153587#M49673</guid>
      <dc:creator>Dreamer_Argento</dc:creator>
      <dc:date>2021-10-25T12:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Select item from slicer by coding</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-item-from-slicer-by-coding/m-p/2154390#M49704</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="30415" data-lia-user-login="Dreamer_Argento" class="lia-mention lia-mention-user"&gt;Dreamer_Argento&lt;/a&gt;&amp;nbsp;, you mean get selected value from slicer in code and use it further?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 20:48:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-item-from-slicer-by-coding/m-p/2154390#M49704</guid>
      <dc:creator>ERD</dc:creator>
      <dc:date>2021-10-25T20:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Select item from slicer by coding</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-item-from-slicer-by-coding/m-p/2154401#M49706</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291363" data-lia-user-login="ERD" class="lia-mention lia-mention-user"&gt;ERD&lt;/a&gt;&amp;nbsp;I want to select a value using Dax simulating a user clicking on a slicer.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 20:56:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-item-from-slicer-by-coding/m-p/2154401#M49706</guid>
      <dc:creator>Dreamer_Argento</dc:creator>
      <dc:date>2021-10-25T20:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select item from slicer by coding</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-item-from-slicer-by-coding/m-p/2154432#M49708</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="30415" data-lia-user-login="Dreamer_Argento" class="lia-mention lia-mention-user"&gt;Dreamer_Argento&lt;/a&gt;&amp;nbsp;, well, if you mean some particular value, it could be something like&lt;/P&gt;
&lt;P&gt;...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DimProducts[Category] = "Beverage"&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#333399"&gt;&lt;EM&gt;If this post helps, then please consider &lt;U&gt;Accept it as the solution&lt;/U&gt; &lt;span class="lia-unicode-emoji" title=":heavy_check_mark:"&gt;✔️&lt;/span&gt;to help the other members find it more quickly.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 21:17:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-item-from-slicer-by-coding/m-p/2154432#M49708</guid>
      <dc:creator>ERD</dc:creator>
      <dc:date>2021-10-25T21:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Select item from slicer by coding</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-item-from-slicer-by-coding/m-p/2154489#M49715</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="30415" data-lia-user-login="Dreamer_Argento" class="lia-mention lia-mention-user"&gt;Dreamer_Argento&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want that certain measure is forced to certain selection you can use as&amp;nbsp; calculate modifier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example if you have measure: Sum('orders'[Salesamount])&lt;BR /&gt;You can force it the certain selection for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calculate(Sum('orders'[Salesamount]),'&lt;STRONG&gt;customer'[Customer Name]=&lt;FONT color="#993300"&gt;"Microsoft"&lt;/FONT&gt;&lt;/STRONG&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other option is to force visuals that use the measure as visual filtter&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Choose the selections and lock it&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&amp;nbsp;&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>Mon, 25 Oct 2021 22:26:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-item-from-slicer-by-coding/m-p/2154489#M49715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-25T22:26:00Z</dc:date>
    </item>
  </channel>
</rss>

