<?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: View rows counted in CountX function in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/View-rows-counted-in-CountX-function/m-p/2622561#M76444</link>
    <description>&lt;P&gt;Hi, I tried your suggestion out. I can't get it to work as a filter. But if I put the new measure in a table along with the other fields I want to see, it seems to work ok then. I'm not too sure why that is... but anyway, it's better than I had before, so thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 12:45:09 GMT</pubDate>
    <dc:creator>SEunson</dc:creator>
    <dc:date>2022-07-06T12:45:09Z</dc:date>
    <item>
      <title>View rows counted in CountX function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/View-rows-counted-in-CountX-function/m-p/2619076#M76220</link>
      <description>&lt;P class=""&gt;Hi all, I have a measure which counts the number or rows in a table, depending on a condition e.g.&lt;/P&gt;&lt;P class=""&gt;COUNTX(&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; &amp;nbsp; TableA,&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;IF(&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AND(&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TableA[Start Date] &amp;lt;= [Month End],&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ISBLANK(TableA[End Date]) || TableA[End Date] &amp;gt;= [Month Start]&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;),&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TableA[ID]&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; &amp;nbsp; )&lt;BR /&gt;)&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;These results are then shown on a line graph, with month on the x axis.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I would like to visualise the rows that have been counted in a table, so I can see further details on the counted rows.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Drill though does not work because the rows counted for a specific month do not necessarily fall within that month.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Does anyone have any suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 07:45:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/View-rows-counted-in-CountX-function/m-p/2619076#M76220</guid>
      <dc:creator>SEunson</dc:creator>
      <dc:date>2022-07-05T07:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: View rows counted in CountX function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/View-rows-counted-in-CountX-function/m-p/2619160#M76222</link>
      <description>&lt;P&gt;Create a new measure like&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Is Visible = IF( 
SELECTEDVALUE('TableA'[Start Date]) &amp;lt;= [Month End] &amp;amp;&amp;amp;
( SELECTEDVALUE('TableA'[End Date]) &amp;gt;= [Month Start] || ISBLANK(SELECTEDVALUE('TableA'[End Date])),
1)&lt;/LI-CODE&gt;&lt;P&gt;then use that as a filter on your table visual to only show rows when the value is 1&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 08:12:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/View-rows-counted-in-CountX-function/m-p/2619160#M76222</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-07-05T08:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: View rows counted in CountX function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/View-rows-counted-in-CountX-function/m-p/2619598#M76254</link>
      <description>&lt;P&gt;Hi johnt75,&lt;BR /&gt;Thanks for the response. I'll have a look into this. Will let you know how I get on.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 10:56:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/View-rows-counted-in-CountX-function/m-p/2619598#M76254</guid>
      <dc:creator>SEunson</dc:creator>
      <dc:date>2022-07-05T10:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: View rows counted in CountX function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/View-rows-counted-in-CountX-function/m-p/2622561#M76444</link>
      <description>&lt;P&gt;Hi, I tried your suggestion out. I can't get it to work as a filter. But if I put the new measure in a table along with the other fields I want to see, it seems to work ok then. I'm not too sure why that is... but anyway, it's better than I had before, so thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 12:45:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/View-rows-counted-in-CountX-function/m-p/2622561#M76444</guid>
      <dc:creator>SEunson</dc:creator>
      <dc:date>2022-07-06T12:45:09Z</dc:date>
    </item>
  </channel>
</rss>

