<?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 Zero counts in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Zero-counts/m-p/3790499#M148112</link>
    <description>&lt;P&gt;I have stock exchange data in power bi.i have a measure that calculates whether closing price is maximum or not.if closing price is maximum this measure gives to the answer equall to zero.Now I want to count those zero in a separate measures&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2024 03:58:24 GMT</pubDate>
    <dc:creator>MAP</dc:creator>
    <dc:date>2024-03-26T03:58:24Z</dc:date>
    <item>
      <title>Zero counts</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Zero-counts/m-p/3790499#M148112</link>
      <description>&lt;P&gt;I have stock exchange data in power bi.i have a measure that calculates whether closing price is maximum or not.if closing price is maximum this measure gives to the answer equall to zero.Now I want to count those zero in a separate measures&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 03:58:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Zero-counts/m-p/3790499#M148112</guid>
      <dc:creator>MAP</dc:creator>
      <dc:date>2024-03-26T03:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Zero counts</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Zero-counts/m-p/3790504#M148113</link>
      <description>&lt;P&gt;You could do this using SUMX and VALUES.&amp;nbsp; First you'll need to understand what groupings will let you check a zero for.&amp;nbsp; Maybe its a particular stockcode.&amp;nbsp; Here is an example:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Zero Count = SUMX(
    VALUES('Stocks'[Stock Code]),
    IF([Closing price max check] = 0, 1, 0)
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 26 Mar 2024 04:02:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Zero-counts/m-p/3790504#M148113</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-26T04:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Zero counts</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Zero-counts/m-p/3792726#M148218</link>
      <description>&lt;P&gt;Thank You Sir&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 03:40:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Zero-counts/m-p/3792726#M148218</guid>
      <dc:creator>MAP</dc:creator>
      <dc:date>2024-03-27T03:40:13Z</dc:date>
    </item>
  </channel>
</rss>

