<?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: Add quotes around values - Concatenex() in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-quotes-around-values-Concatenex/m-p/3349580#M125769</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="279116" data-lia-user-login="JackWren" class="lia-mention lia-mention-user"&gt;JackWren&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This should do the trick: a " character can be entered as two double-quote characters inside a string literal. &amp;nbsp; A single double-quote character therefore appears as four " in a row &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CONCATENATEX (
    VALUES ( DIM_Products_Desc[Fruit] ),
    """" &amp;amp; DIM_Products_Desc[Fruit] &amp;amp; """",
    ","
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jul 2023 20:41:09 GMT</pubDate>
    <dc:creator>OwenAuger</dc:creator>
    <dc:date>2023-07-25T20:41:09Z</dc:date>
    <item>
      <title>Add quotes around values - Concatenex()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-quotes-around-values-Concatenex/m-p/3349173#M125755</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using concatenex to retrieve several values from a filter.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CONCATENATEX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(DIM_Products_Desc[Fruit]),DIM_Products_Desc[Fruit],&lt;/SPAN&gt;&lt;SPAN&gt;",")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;My result looks like this : banana,apple,peach&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, I need the names to be in quotation marks : "banana","apple","peach" etc...&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is there any way to do this?&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Jul 2023 15:52:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-quotes-around-values-Concatenex/m-p/3349173#M125755</guid>
      <dc:creator>JackWren</dc:creator>
      <dc:date>2023-07-25T15:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Add quotes around values - Concatenex()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-quotes-around-values-Concatenex/m-p/3349580#M125769</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="279116" data-lia-user-login="JackWren" class="lia-mention lia-mention-user"&gt;JackWren&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This should do the trick: a " character can be entered as two double-quote characters inside a string literal. &amp;nbsp; A single double-quote character therefore appears as four " in a row &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CONCATENATEX (
    VALUES ( DIM_Products_Desc[Fruit] ),
    """" &amp;amp; DIM_Products_Desc[Fruit] &amp;amp; """",
    ","
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 20:41:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-quotes-around-values-Concatenex/m-p/3349580#M125769</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2023-07-25T20:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add quotes around values - Concatenex()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-quotes-around-values-Concatenex/m-p/3350459#M125803</link>
      <description>&lt;P&gt;Thank you so much ! It works beautifully&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 08:22:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-quotes-around-values-Concatenex/m-p/3350459#M125803</guid>
      <dc:creator>JackWren</dc:creator>
      <dc:date>2023-07-26T08:22:55Z</dc:date>
    </item>
  </channel>
</rss>

