<?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: How to select multiple values from a slicer and show it in visuals using DAX FUNCTIONS? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-multiple-values-from-a-slicer-and-show-it-in/m-p/2469966#M67223</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="381384" data-lia-user-login="soumyakantibhar" class="lia-mention lia-mention-user"&gt;soumyakantibhar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you may try&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;SelectedValue =
SELECTEDVALUE ( 'Selection 1'[Country ] ) &amp;amp; UNICHAR ( 10 )
    &amp;amp; CONCATENATEX (
        ALLSELECTED ( 'Selection 2'[Country ] ),
        'Selection 2'[Country ],
        UNICHAR ( 10 )
    )&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 21 Apr 2022 20:28:12 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-04-21T20:28:12Z</dc:date>
    <item>
      <title>How to select multiple values from a slicer and show it in visuals using DAX FUNCTIONS?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-multiple-values-from-a-slicer-and-show-it-in/m-p/2469298#M67187</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have written this code for&amp;nbsp;&lt;/P&gt;&lt;P&gt;calculating total sales.&lt;/P&gt;&lt;P&gt;--&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Total Sales = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;CountryMultiple&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;[SelectedValue]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Table1[Sales]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;Table1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Table1[Country ]&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Selection 1'[Country ]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;CountryMultiple&lt;/SPAN&gt;&lt;SPAN&gt;}))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and for "Selected Value" I have written this code&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;--&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SelectedValue = &lt;/SPAN&gt;&lt;SPAN&gt;CONCATENATEX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;'Selection 2'[Country ]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'Selection 2'[Country ]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;", "&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;First value should be from main country slicer and 2nd and so on will be from country slicer&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;How to select multiple values from&lt;/P&gt;&lt;P&gt;2nd slicer and show them in visuals?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 14:25:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-multiple-values-from-a-slicer-and-show-it-in/m-p/2469298#M67187</guid>
      <dc:creator>soumyakantibhar</dc:creator>
      <dc:date>2022-04-21T14:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple values from a slicer and show it in visuals using DAX FUNCTIONS?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-multiple-values-from-a-slicer-and-show-it-in/m-p/2469410#M67191</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="381384" data-lia-user-login="soumyakantibhar" class="lia-mention lia-mention-user"&gt;soumyakantibhar&lt;/a&gt; , try measure like&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;CALCULATE( SUM(Table1[Sales]),&lt;BR /&gt;FILTER( Table1, Table1[Country ] in allselected('Selection 1'[Country ])) )&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 15:12:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-multiple-values-from-a-slicer-and-show-it-in/m-p/2469410#M67191</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-04-21T15:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple values from a slicer and show it in visuals using DAX FUNCTIONS?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-multiple-values-from-a-slicer-and-show-it-in/m-p/2469604#M67200</link>
      <description>&lt;P&gt;Thank You for your reply.&lt;/P&gt;&lt;P&gt;Actually I have to show single country for selection1[Country] from main country slicer as first row of the table and secondly show multiple selection values from selection2[Country] in country slicer as second and third row of the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 16:34:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-multiple-values-from-a-slicer-and-show-it-in/m-p/2469604#M67200</guid>
      <dc:creator>soumyakantibhar</dc:creator>
      <dc:date>2022-04-21T16:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple values from a slicer and show it in visuals using DAX FUNCTIONS?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-multiple-values-from-a-slicer-and-show-it-in/m-p/2469966#M67223</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="381384" data-lia-user-login="soumyakantibhar" class="lia-mention lia-mention-user"&gt;soumyakantibhar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you may try&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;SelectedValue =
SELECTEDVALUE ( 'Selection 1'[Country ] ) &amp;amp; UNICHAR ( 10 )
    &amp;amp; CONCATENATEX (
        ALLSELECTED ( 'Selection 2'[Country ] ),
        'Selection 2'[Country ],
        UNICHAR ( 10 )
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 21 Apr 2022 20:28:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-multiple-values-from-a-slicer-and-show-it-in/m-p/2469966#M67223</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-21T20:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple values from a slicer and show it in visuals using DAX FUNCTIONS?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-multiple-values-from-a-slicer-and-show-it-in/m-p/2479860#M67826</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="381384" data-lia-user-login="soumyakantibhar" class="lia-mention lia-mention-user"&gt;soumyakantibhar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer this formula.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = IF(SELECTEDVALUE(Table1[country]) = SELECTEDVALUE(selection1[country])||SELECTEDVALUE(Table1[country]) in VALUES(selection2[country]),SUM(Table1[sales]),BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 08:36:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-multiple-values-from-a-slicer-and-show-it-in/m-p/2479860#M67826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-27T08:36:30Z</dc:date>
    </item>
  </channel>
</rss>

