<?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 The column cannot be pushed to the remote data source and cannot be used in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-column-cannot-be-pushed-to-the-remote-data-source-and-cannot/m-p/3379524#M127310</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a table and gained a list of user_id of internal users. Then I tried to use this list to create a new column in my main table by matching the user_id with the list of user_id of internal users. However, I got the error message that "The column cannot be pushed to the remote data source and cannot be used in this scenario". Can some one help? Thank you so much in advance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The DAX code of the table expression which gained&amp;nbsp; the list of user_id of internal users:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;internal user = SELECTCOLUMNS (
    SUMMARIZE (
        CALCULATETABLE (
            'Main table',
            'Another table'[Type] = "Internal"
        ),
        'Main table'[user_id]
    ),
    "user_id", 'Main table'[user_id]
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I tried to create a new column in my main table by using the values from tne internal user table but got the error messages mentioned above:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;User Type =
    SWITCH(
        TRUE(),
       CONTAINS('internal user',
       'internal user'[user_id],
       'Main Table'[user_Id]),
       "Internal users","Other Users"
        )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 18:36:09 GMT</pubDate>
    <dc:creator>Yiyi_1989</dc:creator>
    <dc:date>2023-08-14T18:36:09Z</dc:date>
    <item>
      <title>The column cannot be pushed to the remote data source and cannot be used</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-column-cannot-be-pushed-to-the-remote-data-source-and-cannot/m-p/3379524#M127310</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a table and gained a list of user_id of internal users. Then I tried to use this list to create a new column in my main table by matching the user_id with the list of user_id of internal users. However, I got the error message that "The column cannot be pushed to the remote data source and cannot be used in this scenario". Can some one help? Thank you so much in advance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The DAX code of the table expression which gained&amp;nbsp; the list of user_id of internal users:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;internal user = SELECTCOLUMNS (
    SUMMARIZE (
        CALCULATETABLE (
            'Main table',
            'Another table'[Type] = "Internal"
        ),
        'Main table'[user_id]
    ),
    "user_id", 'Main table'[user_id]
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I tried to create a new column in my main table by using the values from tne internal user table but got the error messages mentioned above:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;User Type =
    SWITCH(
        TRUE(),
       CONTAINS('internal user',
       'internal user'[user_id],
       'Main Table'[user_Id]),
       "Internal users","Other Users"
        )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 18:36:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-column-cannot-be-pushed-to-the-remote-data-source-and-cannot/m-p/3379524#M127310</guid>
      <dc:creator>Yiyi_1989</dc:creator>
      <dc:date>2023-08-14T18:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: The column cannot be pushed to the remote data source and cannot be used</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-column-cannot-be-pushed-to-the-remote-data-source-and-cannot/m-p/3379542#M127312</link>
      <description>&lt;P&gt;Personally, I would do all of this in Power Query. Create a new query for what you are looking for, then join that query to get your new column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post was helpful, please kudos or accept the answer as a solution.&lt;BR /&gt;~ Anthony Genovese&lt;BR /&gt;Need more PBI help? PM me for affordable, dedicated training or consultant recomendations!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 18:42:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-column-cannot-be-pushed-to-the-remote-data-source-and-cannot/m-p/3379542#M127312</guid>
      <dc:creator>AnthonyGenovese</dc:creator>
      <dc:date>2023-08-14T18:42:15Z</dc:date>
    </item>
  </channel>
</rss>

