<?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: DAX Formula for Measure in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/DAX-Formula-for-Measure/m-p/345918#M155195</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want to return table. If you see in the query I want to count how much disctinct ID's I have. In the data set model I already have the 4 tables that are in the query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My main purpose is only to count how many differents ID's I have since this will change everyday.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Diogo&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jan 2018 09:43:06 GMT</pubDate>
    <dc:creator>diogovaz</dc:creator>
    <dc:date>2018-01-26T09:43:06Z</dc:date>
    <item>
      <title>DAX Formula for Measure</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/DAX-Formula-for-Measure/m-p/345436#M154969</link>
      <description>&lt;P&gt;Good Evening,&lt;BR /&gt;&lt;BR /&gt;I have this query in SQL&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;SELECT COUNT ( DISTINCT ID)
FROM
(SELECT DISTINCT ACC.ID
FROM ACC
INNER JOIN PKG ON (PKG.ACC_ID = ACC.ID AND PKG.create_timestamp&amp;gt;='2017-12-01 00:00:00' AND PKG.create_timestamp&amp;lt;='2018-01-01 00:00:00'
UNION
SELECT DISTINCT ACC.ID
FROM ACC
INNER JOIN OWN ON OWN.USER_ACC_ID = ACC.ID
INNER JOIN PASS ON PASS.OWNER_ID = OWN.ID AND PASS.create_timestamp&amp;gt;='2017-12-01 00:00:00' AND PASS.create_timestamp&amp;lt;='2018-01-01 00:00:00') TAB&lt;/PRE&gt;&lt;P&gt;There is any way to build this query in a Measure ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards and Thanks,&lt;/P&gt;&lt;P&gt;Diogo&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 15:55:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/DAX-Formula-for-Measure/m-p/345436#M154969</guid>
      <dc:creator>diogovaz</dc:creator>
      <dc:date>2018-01-25T15:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Formula for Measure</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/DAX-Formula-for-Measure/m-p/345607#M155046</link>
      <description>&lt;P&gt;Why would you want to do that versus just using this SQL Query as part of your import from your SQL database? I'm not sure I understand the ask here. Measures don't return tables generally.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 21:01:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/DAX-Formula-for-Measure/m-p/345607#M155046</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2018-01-25T21:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Formula for Measure</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/DAX-Formula-for-Measure/m-p/345918#M155195</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want to return table. If you see in the query I want to count how much disctinct ID's I have. In the data set model I already have the 4 tables that are in the query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My main purpose is only to count how many differents ID's I have since this will change everyday.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Diogo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 09:43:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/DAX-Formula-for-Measure/m-p/345918#M155195</guid>
      <dc:creator>diogovaz</dc:creator>
      <dc:date>2018-01-26T09:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Formula for Measure</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/DAX-Formula-for-Measure/m-p/345967#M155223</link>
      <description>&lt;P&gt;You can probably use DISTINCTCOUNT and/or DISTINCT.&amp;nbsp;If you can post example data then I could be more specific.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 11:07:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/DAX-Formula-for-Measure/m-p/345967#M155223</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2018-01-26T11:07:07Z</dc:date>
    </item>
  </channel>
</rss>

