<?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 of days with measurement under certain percentage in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2575741#M73751</link>
    <description>&lt;P&gt;Sorry for delayed response....had some vacation days.&lt;/P&gt;&lt;P&gt;It seemed to result in too high of a number when I had all of the hierarchy levels summarized, but worked great with simply the date and machine ID.&lt;/P&gt;&lt;P&gt;Thank you so much!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2022 16:15:22 GMT</pubDate>
    <dc:creator>drew61199</dc:creator>
    <dc:date>2022-06-13T16:15:22Z</dc:date>
    <item>
      <title>Count of days with measurement under certain percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564484#M73031</link>
      <description>&lt;P&gt;I'll preface by saying I'm new to DAX / PBI. I have two fields - "possible" and "actual" - for multiple machines and also daily data for each. I created a new measure to create a utilization percentage. I need to count the instances where this is less than 65%, but cannot figure it out. As an example of what I'm trying to achieve:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Machine A - Mon 80%, Tues 80%, Wed 80%&lt;/LI&gt;&lt;LI&gt;Machine B - M 50%, T 50%, W 60%&lt;/LI&gt;&lt;LI&gt;Machine C - M 70%, T 45%, W 85%&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I would expect to get 4 in this example. My dataset is signifcantly larger, but I'm way low on my figures. I assume b/c I'm only counting days and not days AND machines?! If so....how do I alter my formula correctly?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;_Utilization=DIVIDE(SUM('PowerBI_DATA'[Actual]), SUM('PowerBI_DATA'[Possible]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;_Under_Utilized=CALCULATE(COUNT(PowerBI_DATA[Date]),FILTER('Facility Data',[_Utilization] &amp;lt; .65))&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Jun 2022 15:25:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564484#M73031</guid>
      <dc:creator>drew61199</dc:creator>
      <dc:date>2022-06-07T15:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count of days with measurement under certain percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564519#M73034</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="398353" data-lia-user-login="drew61199" class="lia-mention lia-mention-user"&gt;drew61199&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you please share a screenshot of your visual hiding any sensitive data? I guess the count will be displayed in a card visual?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 15:36:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564519#M73034</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-07T15:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count of days with measurement under certain percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564529#M73035</link>
      <description>&lt;P&gt;I'm just building it out, but yes, as a test, I'm using it in a card. I will later utilize in barcharts, etc to showcase top opportunities (based on lowest utilization). I'm comparing my figures to the QLIK visual I have that PBI is replacing, but I've drilled to individual items and a small subset of the data (single week) and verified the formula above is not accurate&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 15:40:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564529#M73035</guid>
      <dc:creator>drew61199</dc:creator>
      <dc:date>2022-06-07T15:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count of days with measurement under certain percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564609#M73040</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="398353" data-lia-user-login="drew61199" class="lia-mention lia-mention-user"&gt;drew61199&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for clarification. What are you slicing by when using the [&lt;SPAN&gt;_Utilization] measure?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 16:28:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564609#M73040</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-07T16:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Count of days with measurement under certain percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564640#M73042</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="398353" data-lia-user-login="drew61199" class="lia-mention lia-mention-user"&gt;drew61199&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry I think I was not clear in my question.&amp;nbsp;&lt;BR /&gt;The utilization value that you are trying to count is based on machine/date? Are we talking about daily basis? And do you have a date table? If not please clarify. Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 16:48:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564640#M73042</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-07T16:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Count of days with measurement under certain percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564660#M73044</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="398353" data-lia-user-login="drew61199" class="lia-mention lia-mention-user"&gt;drew61199&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, please try&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;_Under_Utilized =
SUMX (
    CROSSJOIN ( VALUES ( 'Date'[Date] ), VALUES ( TableName[Machine ID] ) ),
    CALCULATE ( IF ( [_Utilization] &amp;lt; 0.65, 1 ) )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 07 Jun 2022 17:02:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564660#M73044</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-07T17:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Count of days with measurement under certain percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564666#M73045</link>
      <description>&lt;P&gt;The date comes in with the data feed. Multiple columns - physical location hierarchy (Area, District, Facility), Date, Machine ID, and aforementioned actual / possible throughput. I will be slicing by the hierarchy to show top opportunity Area, District, Facility, Machine ID&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 17:07:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564666#M73045</guid>
      <dc:creator>drew61199</dc:creator>
      <dc:date>2022-06-07T17:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count of days with measurement under certain percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564702#M73047</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="398353" data-lia-user-login="drew61199" class="lia-mention lia-mention-user"&gt;drew61199&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok please try&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;_Under_Utilized =
SUMX (
    SUMMARIZE (
        TableName,
        TableName[Date],
        TableName[Machine ID],
        TableName[Area],
        TableName[District],
        TableName[Facility]
    ),
    CALCULATE ( IF ( [_Utilization] &amp;lt; 0.65, 1 ) )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 07 Jun 2022 17:26:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2564702#M73047</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-07T17:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count of days with measurement under certain percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2575741#M73751</link>
      <description>&lt;P&gt;Sorry for delayed response....had some vacation days.&lt;/P&gt;&lt;P&gt;It seemed to result in too high of a number when I had all of the hierarchy levels summarized, but worked great with simply the date and machine ID.&lt;/P&gt;&lt;P&gt;Thank you so much!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 16:15:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-days-with-measurement-under-certain-percentage/m-p/2575741#M73751</guid>
      <dc:creator>drew61199</dc:creator>
      <dc:date>2022-06-13T16:15:22Z</dc:date>
    </item>
  </channel>
</rss>

