<?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 table from SQL in DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-table-from-SQL-in-DAX/m-p/2497219#M68935</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Calculated Table in DAX &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;summarize(filter(tm_assets, tm_assets[companyid] in summarize(filter(z_company_subscribed_base, z_company_subscribed_base[applicationname] = "Specific Application"),[companyid])), tm_assets[deviceid])&lt;/P&gt;</description>
    <pubDate>Fri, 06 May 2022 01:20:08 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-05-06T01:20:08Z</dc:date>
    <item>
      <title>Create table from SQL in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-table-from-SQL-in-DAX/m-p/2496889#M68923</link>
      <description>&lt;P&gt;How can I use this SQL to create a DAX table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;select distinct deviceid

from point.tm_assets

where companyid in (select distinct companyid from point.z_company_subscribed_base where applicationname = 'Specific Application')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 19:41:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-table-from-SQL-in-DAX/m-p/2496889#M68923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-05T19:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create table from SQL in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-table-from-SQL-in-DAX/m-p/2497219#M68935</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Calculated Table in DAX &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;summarize(filter(tm_assets, tm_assets[companyid] in summarize(filter(z_company_subscribed_base, z_company_subscribed_base[applicationname] = "Specific Application"),[companyid])), tm_assets[deviceid])&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 01:20:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-table-from-SQL-in-DAX/m-p/2497219#M68935</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-05-06T01:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create table from SQL in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-table-from-SQL-in-DAX/m-p/2507331#M69451</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a calculated table like below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table = 
var tmp = CALCULATETABLE(DISTINCT('point z_company_subscribed_base'[companyid]),FILTER('point z_company_subscribed_base','point z_company_subscribed_base'[applicationname]="Specific Application"))
return
CALCULATETABLE(DISTINCT('point tm_assets'[deviceid]),FILTER('point tm_assets','point tm_assets'[deviceid] in tmp))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 09:49:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-table-from-SQL-in-DAX/m-p/2507331#M69451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-11T09:49:25Z</dc:date>
    </item>
  </channel>
</rss>

