<?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: Availability % Measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Availability-Measure/m-p/4421293#M175535</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2025 07:05:49 GMT</pubDate>
    <dc:creator>danpowerbi</dc:creator>
    <dc:date>2025-02-21T07:05:49Z</dc:date>
    <item>
      <title>Availability % Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Availability-Measure/m-p/4420630#M175511</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please be kind, i think this may be quite obvious but it is late and i am not seeing the solution.&lt;BR /&gt;&lt;BR /&gt;I am looking to display a measure in a card with shows the availability % for buses per day. I can get the figures i need via the pivot but cant work out how to get the total availability % displayed in my card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have my dates, the buses that should be running on those dates and my column telling me if they actually ran or not. For my example shown in the matrix below i am looking to display 2 cards, 1 showing the total availability % of running buses for that date range (75%) and the total unavailability % of buses (25%).&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 22:56:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Availability-Measure/m-p/4420630#M175511</guid>
      <dc:creator>danpowerbi</dc:creator>
      <dc:date>2025-02-20T22:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Availability % Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Availability-Measure/m-p/4420850#M175520</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="936014" data-lia-user-login="danpowerbi" class="lia-mention lia-mention-user"&gt;danpowerbi&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the following solution.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create two measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Yes =
VAR a =
    COUNTROWS ( FILTER ( 'Table', [Running] = "Yes" ) )
VAR b =
    COUNTROWS ( 'Table' )
RETURN
    DIVIDE ( a, b )
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;No =
VAR a =
    COUNTROWS ( FILTER ( 'Table', [Running] = "No" ) )
VAR b =
    COUNTROWS ( 'Table' )
RETURN
    DIVIDE ( a, b )
&lt;/LI-CODE&gt;
&lt;P&gt;Then put them to the card visual.&lt;/P&gt;
&lt;P&gt;Output&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Yolo Zhu&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 01:51:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Availability-Measure/m-p/4420850#M175520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-02-21T01:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Availability % Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Availability-Measure/m-p/4421293#M175535</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 07:05:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Availability-Measure/m-p/4421293#M175535</guid>
      <dc:creator>danpowerbi</dc:creator>
      <dc:date>2025-02-21T07:05:49Z</dc:date>
    </item>
  </channel>
</rss>

