<?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: Print the column values multiple times using DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1233621#M20175</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to add one more column in the concatenate e.g.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jul 2020 01:18:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-07-20T01:18:10Z</dc:date>
    <item>
      <title>Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229707#M20040</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to print values for a specific column. for example the column name is ABC and it is occured 18 times for a key, the output needs to be as per below.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 02:24:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229707#M20040</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T02:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229765#M20043</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Can you explain the logic of output, not able to connect. &lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 02:54:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229765#M20043</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-07-17T02:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229789#M20044</link>
      <description>&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically I want to concatenate the output the number of times it appears as per the column headers.&lt;/P&gt;&lt;P&gt;Hopefully this explains !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 03:01:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229789#M20044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T03:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229812#M20045</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the above answer help you to understand the problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 03:13:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229812#M20045</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T03:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229907#M20050</link>
      <description>This looks like a job for Power Query and not DAX</description>
      <pubDate>Fri, 17 Jul 2020 04:21:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229907#M20050</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2020-07-17T04:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229913#M20051</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="236628" data-lia-user-login="AntrikshSharma" class="lia-mention lia-mention-user"&gt;AntrikshSharma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A power Query solution will work too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 04:24:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229913#M20051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T04:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229914#M20052</link>
      <description>Unfortunately I am not capable enough in PQ, you can post your question here were PQ champs hangout:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Power-Query/bd-p/power-bi-services" target="_blank"&gt;https://community.powerbi.com/t5/Power-Query/bd-p/power-bi-services&lt;/A&gt;</description>
      <pubDate>Fri, 17 Jul 2020 04:28:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229914#M20052</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2020-07-17T04:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229916#M20053</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="236628" data-lia-user-login="AntrikshSharma" class="lia-mention lia-mention-user"&gt;AntrikshSharma&lt;/a&gt;&amp;nbsp; Thanks!!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 04:29:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1229916#M20053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T04:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1230808#M20074</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;// Assumption is that you've got a table T
// where the structure is more or less this:
// Key	|	Column
// ----------------
// 1	|	ABC
// 1	| 	ABC
// 2	|	XYZ
// 2	|	XYZ
// 2	|	XYZ
// ...
// From your sample it looks like a key
// can only have one distinct value in
// the Column column.

[Output] =
IF( 
	// make sure that only one Key is
	// visible in the current context
	// and it's filtered directly.
	HASONEFILTER( T[Key] ),

	// The below will only work correctly
	// if the assumption above is in force.
	// Otherwise, SELECTEDVALUE will return
	// BLANK() and you'll end up with a string
	// of delimiters only or just an empty
	// string.
	var __numOfVals = COUNTROWS( T )
	var __columnVal = SELECTEDVALUE( T[Column] )
	var __ouput =
		CONCATENATEX(
			GENERATESERIES(1, __numOfVals, 1),
			__columnVal,
			":|"
		)
	return
		__output
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And, of course, [Output] is a MEASURE, not a calc column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 10:52:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1230808#M20074</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T10:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232314#M20132</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;The below measure works well.&lt;/P&gt;&lt;P&gt;I want to add one more column which is a unique number for each "ABC" value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Rutika&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2020 08:47:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232314#M20132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-18T08:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232323#M20133</link>
      <description>&lt;P&gt;What's wrong with using REPT() ?&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2020 09:45:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232323#M20133</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-18T09:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232334#M20135</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;I need a delimter also to seperate the text&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2020 10:22:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232334#M20135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-18T10:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232336#M20136</link>
      <description>&lt;P&gt;Include the delimiter in the call to REPT and throw away the last character of the result.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2020 10:25:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232336#M20136</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-18T10:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232620#M20142</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CONCATENATEX does it all for you automatically, so why bother?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best&lt;BR /&gt;D&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2020 16:24:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232620#M20142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-18T16:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232644#M20146</link>
      <description>&lt;P&gt;Because it's fun, and an opportunity to test a function I didn't even know until very recently.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2020 17:00:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232644#M20146</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-18T17:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232681#M20147</link>
      <description>Yeah... It's also fun to kill a bird with a cannon &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Sat, 18 Jul 2020 17:44:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1232681#M20147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-18T17:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Print the column values multiple times using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1233621#M20175</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to add one more column in the concatenate e.g.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 01:18:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Print-the-column-values-multiple-times-using-DAX/m-p/1233621#M20175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-20T01:18:10Z</dc:date>
    </item>
  </channel>
</rss>

