<?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: GENERATESERIES[Value] reference in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/GENERATESERIES-Value-reference/m-p/1228417#M20007</link>
    <description>Because SeriesTest is a name for a variable, not for a table. The table created by the function is anonymous.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
    <pubDate>Thu, 16 Jul 2020 14:00:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-07-16T14:00:41Z</dc:date>
    <item>
      <title>GENERATESERIES[Value] reference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/GENERATESERIES-Value-reference/m-p/1228404#M20006</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a base question where I would like to know why I cant 'qualify' the table name for the column [Value] that is created i the GENERATESERIES() measure.&amp;nbsp; See the below example.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I find it confusing to only refer to [Value] and prefer to qualify it with the table name first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//This DAX Works&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TableTest = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var SeriesTest = GENERATESERIES(1,10,1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;var AddColumnTest =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ADDCOLUMNS(SeriesTest&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,"ColumnAdd"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[Value])&amp;nbsp; //However, why cant this be referred to as SeriesTest[Value]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AddColumnTest&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:56:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/GENERATESERIES-Value-reference/m-p/1228404#M20006</guid>
      <dc:creator>tctrout</dc:creator>
      <dc:date>2020-07-16T13:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATESERIES[Value] reference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/GENERATESERIES-Value-reference/m-p/1228417#M20007</link>
      <description>Because SeriesTest is a name for a variable, not for a table. The table created by the function is anonymous.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Thu, 16 Jul 2020 14:00:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/GENERATESERIES-Value-reference/m-p/1228417#M20007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-16T14:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATESERIES[Value] reference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/GENERATESERIES-Value-reference/m-p/1228439#M20009</link>
      <description>&lt;P&gt;Ah, thank you, I forgot that when used in a variable the table doenst actually 'materialize'.&amp;nbsp; I confirmed, once 'materialized', I can qualify it in another calculated table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TableTest2 = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ADDCOLUMNS(TableTest,"ColumnAdd2",TableTest[Value])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I do have a follow up, and not sure of the scenario, but what if the DAX requires multiple GENERATESERIES()?&amp;nbsp; How will it know which [Value]?&amp;nbsp; Or will it not allow me, and the work around would be to nest another return with a new var GENERATESERIES()?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Jul 2020 14:06:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/GENERATESERIES-Value-reference/m-p/1228439#M20009</guid>
      <dc:creator>tctrout</dc:creator>
      <dc:date>2020-07-16T14:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATESERIES[Value] reference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/GENERATESERIES-Value-reference/m-p/1230699#M20069</link>
      <description>&lt;LI-CODE lang="csharp"&gt;// Easy enough to check...
// This gives you an error:

EVALUATE
	CROSSJOIN(
		GENERATESERIES(1, 10, 2),
		GENERATESERIES(2, 10, 2)
	)

// You can do this instead:
EVALUATE
	CROSSJOIN(
		GENERATESERIES(1, 10, 2),
		SELECTCOLUMNS(
			GENERATESERIES(2, 10, 2),
			"Value2", [Value]
		)
	)&lt;/LI-CODE&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:20:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/GENERATESERIES-Value-reference/m-p/1230699#M20069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T10:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATESERIES[Value] reference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/GENERATESERIES-Value-reference/m-p/1230881#M20076</link>
      <description>&lt;P&gt;Thank you, makes sense, I'll be keeping this in my back pocket.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 11:03:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/GENERATESERIES-Value-reference/m-p/1230881#M20076</guid>
      <dc:creator>tctrout</dc:creator>
      <dc:date>2020-07-17T11:03:49Z</dc:date>
    </item>
  </channel>
</rss>

