<?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: Concat 2 columns for every row of a report in a dynamic textbox? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concat-2-columns-for-every-row-of-a-report-in-a-dynamic-textbox/m-p/3270700#M121213</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Concat =
CONCATENATEX (
    VALUES ( 'Table'[Description] ),
    'Table'[Description] &amp;amp; " - " &amp;amp; [Measure],
    UNICHAR ( 10 )
)&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 06 Jun 2023 14:09:20 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-06-06T14:09:20Z</dc:date>
    <item>
      <title>Concat 2 columns for every row of a report in a dynamic textbox?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concat-2-columns-for-every-row-of-a-report-in-a-dynamic-textbox/m-p/3270558#M121199</link>
      <description>&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am relatively new to PowerBI and still learning so this may be a simple answer that I just haven't been able to piece together from the information that's out there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a report that has a Measure to average values from a database (Column2) that share a common Description (Column1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This gives me a report with a number of rows based on the unique Descriptions in the database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to have a text box that concatenates the Text in Column1 and the value in Column2 on its own line for every row in the report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to reference the values in a text box, but it only returns the most recent value in the whole database, not the report, and it only gives me one line, not a line for every row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PowerBI seems like a powerful program, and I'm excited to learn more about it, so any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 13:08:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concat-2-columns-for-every-row-of-a-report-in-a-dynamic-textbox/m-p/3270558#M121199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-06T13:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Concat 2 columns for every row of a report in a dynamic textbox?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concat-2-columns-for-every-row-of-a-report-in-a-dynamic-textbox/m-p/3270700#M121213</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Concat =
CONCATENATEX (
    VALUES ( 'Table'[Description] ),
    'Table'[Description] &amp;amp; " - " &amp;amp; [Measure],
    UNICHAR ( 10 )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 06 Jun 2023 14:09:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concat-2-columns-for-every-row-of-a-report-in-a-dynamic-textbox/m-p/3270700#M121213</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-06T14:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Concat 2 columns for every row of a report in a dynamic textbox?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concat-2-columns-for-every-row-of-a-report-in-a-dynamic-textbox/m-p/3270893#M121227</link>
      <description>&lt;P&gt;Thank you for your swift reply,&lt;STRIKE&gt; it's giving an error "Cannot find table 'Table'."&lt;/STRIKE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRIKE&gt;Do I need to reference my report in a table or does it somehow do that automatically?&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I realized I needed to pass the datatable as the "Table", now I get an unsorted list with the values!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there a way to sort the list &lt;STRIKE&gt;and limit the number of decimal places&lt;/STRIKE&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I figured out that using a Round function fixed the decimal places issue.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 16:01:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concat-2-columns-for-every-row-of-a-report-in-a-dynamic-textbox/m-p/3270893#M121227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-06T16:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Concat 2 columns for every row of a report in a dynamic textbox?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concat-2-columns-for-every-row-of-a-report-in-a-dynamic-textbox/m-p/3271107#M121245</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To obtain a sorted list&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Concat =&lt;BR /&gt;CONCATENATEX (&lt;BR /&gt;VALUES ( 'Table'[Description] ),&lt;BR /&gt;'Table'[Description] &amp;amp; " - " &amp;amp; ROUND ( [Measure], 0 ),&lt;BR /&gt;UNICHAR ( 10 ),&lt;BR /&gt;'Table'[Description], ASC&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 17:43:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concat-2-columns-for-every-row-of-a-report-in-a-dynamic-textbox/m-p/3271107#M121245</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-06T17:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Concat 2 columns for every row of a report in a dynamic textbox?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concat-2-columns-for-every-row-of-a-report-in-a-dynamic-textbox/m-p/3271113#M121246</link>
      <description>&lt;P&gt;You're amazing! Thank you so much for your help, that worked perfectly!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 17:47:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concat-2-columns-for-every-row-of-a-report-in-a-dynamic-textbox/m-p/3271113#M121246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-06T17:47:20Z</dc:date>
    </item>
  </channel>
</rss>

