<?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 SELECTCOLUMNS in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SELECTCOLUMNS/m-p/1533680#M30113</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am fairly new to DAX and came across this line of code which I am unable to understand.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If understand correctly SELECTCOLUMNS take table as first argument. But in the case below {"Last 2 Months"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;doesn't exist. Also, not sure where [Value] is coming from and how its being recognized. Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Tbl = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SELECTCOLUMNS({"Last 2 Months"},"Period",[Value])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Result:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Period&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;----------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Last 2 Months&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-----------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 04 Dec 2020 20:20:12 GMT</pubDate>
    <dc:creator>BenazirMohammad</dc:creator>
    <dc:date>2020-12-04T20:20:12Z</dc:date>
    <item>
      <title>SELECTCOLUMNS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SELECTCOLUMNS/m-p/1533680#M30113</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am fairly new to DAX and came across this line of code which I am unable to understand.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If understand correctly SELECTCOLUMNS take table as first argument. But in the case below {"Last 2 Months"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;doesn't exist. Also, not sure where [Value] is coming from and how its being recognized. Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Tbl = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SELECTCOLUMNS({"Last 2 Months"},"Period",[Value])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Result:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Period&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;----------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Last 2 Months&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-----------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Dec 2020 20:20:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SELECTCOLUMNS/m-p/1533680#M30113</guid>
      <dc:creator>BenazirMohammad</dc:creator>
      <dc:date>2020-12-04T20:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTCOLUMNS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SELECTCOLUMNS/m-p/1533692#M30115</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="219409" data-lia-user-login="BenazirMohammad" class="lia-mention lia-mention-user"&gt;BenazirMohammad&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are you trying to do ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SELECTCOLUMNS selects the columns you want to keep from a table, create new headers and/or add some expressions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dax.guide/selectcolumns/" target="_blank"&gt;SELECTCOLUMNS – DAX Guide&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 20:40:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SELECTCOLUMNS/m-p/1533692#M30115</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-12-04T20:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTCOLUMNS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SELECTCOLUMNS/m-p/1533697#M30116</link>
      <description>&lt;P&gt;&lt;SPAN&gt;SELECTCOLUMNS({"Last 2 Months"},"Period",[Value])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, but in this case neither the table exist nor the [Value] but its still giving me results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 20:46:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SELECTCOLUMNS/m-p/1533697#M30116</guid>
      <dc:creator>BenazirMohammad</dc:creator>
      <dc:date>2020-12-04T20:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTCOLUMNS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SELECTCOLUMNS/m-p/1533699#M30117</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 20:47:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SELECTCOLUMNS/m-p/1533699#M30117</guid>
      <dc:creator>BenazirMohammad</dc:creator>
      <dc:date>2020-12-04T20:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTCOLUMNS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SELECTCOLUMNS/m-p/1533701#M30118</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="219409" data-lia-user-login="BenazirMohammad" class="lia-mention lia-mention-user"&gt;BenazirMohammad&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are just creating a table using hard code values....&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 20:52:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SELECTCOLUMNS/m-p/1533701#M30118</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-12-04T20:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTCOLUMNS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SELECTCOLUMNS/m-p/1533715#M30119</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;I think I get it. Its creating a table using table constructor&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{"Last 2 Months"} and the then pulling the Value using SelectColumns.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Dec 2020 21:10:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SELECTCOLUMNS/m-p/1533715#M30119</guid>
      <dc:creator>BenazirMohammad</dc:creator>
      <dc:date>2020-12-04T21:10:37Z</dc:date>
    </item>
  </channel>
</rss>

