<?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: Count in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count/m-p/3139743#M112052</link>
    <description>&lt;P&gt;Need some help, Can someone describe how excel counts and calculation can be performed in Power BI? I have a dataset and I think DAX COUNTA or COUNTAX maybe part of the solution. Please provide the format in DAX, it would be much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2023 22:17:44 GMT</pubDate>
    <dc:creator>tb0493</dc:creator>
    <dc:date>2023-03-17T22:17:44Z</dc:date>
    <item>
      <title>Count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count/m-p/3095471#M108598</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have created a simple table&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where measure&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count_Lost2 = &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Last_Sales]&lt;/SPAN&gt;&lt;SPAN&gt;==&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to count this coulmn. Is it not possible to count measures?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for any help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 13:42:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count/m-p/3095471#M108598</guid>
      <dc:creator>appsac1</dc:creator>
      <dc:date>2023-02-23T13:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count/m-p/3095517#M108604</link>
      <description>&lt;P&gt;You need to create a variable to hold the values at the granularity you want, then you can run SUMX over that. If you wanted it at year level you could use something like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count of measure =
VAR SummaryTable =
    ADDCOLUMNS ( VALUES ( 'Date'[Year] ), "@value", [Measure to count] )
RETURN
    SUMX ( SummaryTable, [@value] )
&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 23 Feb 2023 13:59:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count/m-p/3095517#M108604</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2023-02-23T13:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count/m-p/3095555#M108608</link>
      <description>&lt;P&gt;Ohhh, nice! Thanks so much. It works&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":hugging_face:"&gt;🤗&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 14:15:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count/m-p/3095555#M108608</guid>
      <dc:creator>appsac1</dc:creator>
      <dc:date>2023-02-23T14:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count/m-p/3139743#M112052</link>
      <description>&lt;P&gt;Need some help, Can someone describe how excel counts and calculation can be performed in Power BI? I have a dataset and I think DAX COUNTA or COUNTAX maybe part of the solution. Please provide the format in DAX, it would be much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 22:17:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count/m-p/3139743#M112052</guid>
      <dc:creator>tb0493</dc:creator>
      <dc:date>2023-03-17T22:17:44Z</dc:date>
    </item>
  </channel>
</rss>

