<?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: Create a table and copying a column from a dataset in a DirectQuery local model in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-table-and-copying-a-column-from-a-dataset-in-a/m-p/2694841#M81262</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="411243" data-lia-user-login="DonRitchie" class="lia-mention lia-mention-user"&gt;DonRitchie&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note: SELECTCOLUMNS function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you can try import mode to connect data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information, please refer to: &lt;A href="https://docs.microsoft.com/en-us/dax/selectcolumns-function-dax" target="_blank"&gt;SELECTCOLUMNS function (DAX) - DAX | Microsoft Docs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 10:04:51 GMT</pubDate>
    <dc:creator>foucaultf</dc:creator>
    <dc:date>2022-08-11T10:04:51Z</dc:date>
    <item>
      <title>Create a table and copying a column from a dataset in a DirectQuery local model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-table-and-copying-a-column-from-a-dataset-in-a/m-p/2687876#M80830</link>
      <description>&lt;P&gt;This seems more complicated than it should be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am connected to a local model of a dataset.&amp;nbsp; There is a table "SALES" with a column "CUSTOMER".&amp;nbsp; I select New Table under Modeling ribbon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DATE = &lt;/SPAN&gt;&lt;SPAN&gt;SELECTCOLUMNS&lt;/SPAN&gt;&lt;SPAN&gt;(SALES&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Customers"&lt;/SPAN&gt;&lt;SPAN&gt;, SALES[CUSTOMER]) returns an error: &lt;EM&gt;The resultset of a query to external data source has exceeded the maximum allowed size of '1000000' rows.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DATE = SELECTCOLUMNS(SALES,"Customers", DISTINCT(SALES[CUSTOMER])) returns an error:&lt;EM&gt;OLE DB or ODBC error: Query (3, 40) A table of multiple values was supplied where a single value was expected. Technical Details: RootActivityId: 3f5fb32a-a5b8-4738-9237-06a50d9075dc Date (UTC): 8/8/2022 4:24:54 PM.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What am I doing wrong?&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Aug 2022 16:27:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-table-and-copying-a-column-from-a-dataset-in-a/m-p/2687876#M80830</guid>
      <dc:creator>DonRitchie</dc:creator>
      <dc:date>2022-08-08T16:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table and copying a column from a dataset in a DirectQuery local model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-table-and-copying-a-column-from-a-dataset-in-a/m-p/2688571#M80880</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="411243" data-lia-user-login="DonRitchie" class="lia-mention lia-mention-user"&gt;DonRitchie&lt;/a&gt; , Try like &lt;/P&gt;
&lt;P&gt;DATE = summarize(SALES,"Customers", SALES[CUSTOMER])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My suggestion would be better get from database as import , using SQL in advance connection option&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 04:27:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-table-and-copying-a-column-from-a-dataset-in-a/m-p/2688571#M80880</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-08-09T04:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table and copying a column from a dataset in a DirectQuery local model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-table-and-copying-a-column-from-a-dataset-in-a/m-p/2694841#M81262</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="411243" data-lia-user-login="DonRitchie" class="lia-mention lia-mention-user"&gt;DonRitchie&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note: SELECTCOLUMNS function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you can try import mode to connect data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information, please refer to: &lt;A href="https://docs.microsoft.com/en-us/dax/selectcolumns-function-dax" target="_blank"&gt;SELECTCOLUMNS function (DAX) - DAX | Microsoft Docs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 10:04:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-table-and-copying-a-column-from-a-dataset-in-a/m-p/2694841#M81262</guid>
      <dc:creator>foucaultf</dc:creator>
      <dc:date>2022-08-11T10:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table and copying a column from a dataset in a DirectQuery local model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-table-and-copying-a-column-from-a-dataset-in-a/m-p/2694856#M81264</link>
      <description>&lt;P&gt;How do I import a dataset I don't have access to alter?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 10:11:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-table-and-copying-a-column-from-a-dataset-in-a/m-p/2694856#M81264</guid>
      <dc:creator>DonRitchie</dc:creator>
      <dc:date>2022-08-11T10:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table and copying a column from a dataset in a DirectQuery local model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-table-and-copying-a-column-from-a-dataset-in-a/m-p/2696452#M81383</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please select import option. Then you can use DAX without limitations.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 01:38:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-table-and-copying-a-column-from-a-dataset-in-a/m-p/2696452#M81383</guid>
      <dc:creator>foucaultf</dc:creator>
      <dc:date>2022-08-12T01:38:30Z</dc:date>
    </item>
  </channel>
</rss>

