<?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 Get data rows rather than count of rows? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-data-rows-rather-than-count-of-rows/m-p/1761682#M36862</link>
    <description>&lt;P&gt;Anyone know how to get the data rows rather than count of rows with the example below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Green Cars = &lt;/P&gt;&lt;P&gt;VAR color_green = &lt;/P&gt;&lt;P&gt;SUMMARIZE ( FILTER ( ALL ( Data ), Data[color] = "green" ), Data[computer_id] ) &lt;/P&gt;&lt;P&gt;VAR type_car = &lt;/P&gt;&lt;P&gt;SUMMARIZE ( FILTER ( ALL ( Data ), Data[type] = "car" ), Data[computer_id] ) &lt;/P&gt;&lt;P&gt;RETURN &lt;/P&gt;&lt;P&gt;COUNTROWS ( INTERSECT ( color_green, type_car ) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 02 Apr 2021 13:54:03 GMT</pubDate>
    <dc:creator>daxn00b</dc:creator>
    <dc:date>2021-04-02T13:54:03Z</dc:date>
    <item>
      <title>Get data rows rather than count of rows?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-data-rows-rather-than-count-of-rows/m-p/1761682#M36862</link>
      <description>&lt;P&gt;Anyone know how to get the data rows rather than count of rows with the example below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Green Cars = &lt;/P&gt;&lt;P&gt;VAR color_green = &lt;/P&gt;&lt;P&gt;SUMMARIZE ( FILTER ( ALL ( Data ), Data[color] = "green" ), Data[computer_id] ) &lt;/P&gt;&lt;P&gt;VAR type_car = &lt;/P&gt;&lt;P&gt;SUMMARIZE ( FILTER ( ALL ( Data ), Data[type] = "car" ), Data[computer_id] ) &lt;/P&gt;&lt;P&gt;RETURN &lt;/P&gt;&lt;P&gt;COUNTROWS ( INTERSECT ( color_green, type_car ) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 13:54:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-data-rows-rather-than-count-of-rows/m-p/1761682#M36862</guid>
      <dc:creator>daxn00b</dc:creator>
      <dc:date>2021-04-02T13:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get data rows rather than count of rows?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-data-rows-rather-than-count-of-rows/m-p/1761752#M36865</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="293789" data-lia-user-login="daxn00b" class="lia-mention lia-mention-user"&gt;daxn00b&lt;/a&gt; , Create a table like below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Green Cars = &lt;/P&gt;
&lt;P&gt;VAR color_green = &lt;/P&gt;
&lt;P&gt;SUMMARIZE ( FILTER ( ALL ( Data ), Data[color] = "green" ), Data[computer_id] ) &lt;/P&gt;
&lt;P&gt;VAR type_car = &lt;/P&gt;
&lt;P&gt;SUMMARIZE ( FILTER ( ALL ( Data ), Data[type] = "car" ), Data[computer_id] ) &lt;/P&gt;
&lt;P&gt;RETURN &lt;/P&gt;
&lt;P&gt;&amp;nbsp;INTERSECT ( color_green, type_car ) &lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 14:34:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-data-rows-rather-than-count-of-rows/m-p/1761752#M36865</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-04-02T14:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get data rows rather than count of rows?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-data-rows-rather-than-count-of-rows/m-p/1761972#M36877</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can create another table :&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Green Cars = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR color_green =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMMARIZE ( FILTER ( ALL ( Sheet1 ), Sheet1[Country] = "Canada" ), Sheet1[Index] )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR type_car =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMMARIZE ( FILTER ( ALL ( Sheet1 ), Sheet1[Country] = "France" ), Sheet1[Index] )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;UNION(color_green,type_car)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Apr 2021 18:27:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-data-rows-rather-than-count-of-rows/m-p/1761972#M36877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-02T18:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get data rows rather than count of rows?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-data-rows-rather-than-count-of-rows/m-p/1762056#M36888</link>
      <description>&lt;P&gt;A DAX measure &lt;STRONG&gt;CANNOT&lt;/STRONG&gt; return a table. It can only return a scalar value. You can create a table via DAX but it will not be returned by a measure. It can only be created as a table in the model and will be &lt;STRONG&gt;STATIC &lt;/STRONG&gt;once created.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 22:34:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-data-rows-rather-than-count-of-rows/m-p/1762056#M36888</guid>
      <dc:creator>daxer-almighty</dc:creator>
      <dc:date>2021-04-02T22:34:20Z</dc:date>
    </item>
  </channel>
</rss>

