<?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 Work Order Completion Percentage by Type in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1307979#M22752</link>
    <description>&lt;P&gt;I have a table that has several different work types (&lt;SPAN&gt;All WO (Open and Closed)'[Work Type]) and I&lt;/SPAN&gt;&amp;nbsp;have a date column of date of completion (&lt;SPAN&gt;All WO (Open and Closed)'[Actual Completion Date]). I'm trying to find the percentage of Work Types that have complete date values as opposed to blank values. I've been pulling my hair out over this one. I created a measure that simply gave all blanks. I tried again and it counted everything even though I told it to exclude blanks. Below is code I found on this forum that I modified to meet my needs. Either it isn't what I'm looking for, or, I did it wrong.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = 
DIVIDE(
CALCULATE(DISTINCTCOUNT(Table[CustomerName]), ALL(Table), Table[CustomerName] &amp;lt;&amp;gt; BLANK(), Table[Country]="USA"),
CALCULATE(DISTINCTCOUNT(Table[CustomerName]), ALL(Table), Table[CustomerName] &amp;lt;&amp;gt; BLANK())
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Aug 2020 15:10:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-08-19T15:10:28Z</dc:date>
    <item>
      <title>Work Order Completion Percentage by Type</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1307979#M22752</link>
      <description>&lt;P&gt;I have a table that has several different work types (&lt;SPAN&gt;All WO (Open and Closed)'[Work Type]) and I&lt;/SPAN&gt;&amp;nbsp;have a date column of date of completion (&lt;SPAN&gt;All WO (Open and Closed)'[Actual Completion Date]). I'm trying to find the percentage of Work Types that have complete date values as opposed to blank values. I've been pulling my hair out over this one. I created a measure that simply gave all blanks. I tried again and it counted everything even though I told it to exclude blanks. Below is code I found on this forum that I modified to meet my needs. Either it isn't what I'm looking for, or, I did it wrong.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = 
DIVIDE(
CALCULATE(DISTINCTCOUNT(Table[CustomerName]), ALL(Table), Table[CustomerName] &amp;lt;&amp;gt; BLANK(), Table[Country]="USA"),
CALCULATE(DISTINCTCOUNT(Table[CustomerName]), ALL(Table), Table[CustomerName] &amp;lt;&amp;gt; BLANK())
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 15:10:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1307979#M22752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-19T15:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Work Order Completion Percentage by Type</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308049#M22754</link>
      <description>You have not shown the structure of your model, so it's hard, if at all possible, to tell you what's wrong. From the formula you've given it looks like you're trying to calculate the different customer names in UAS which are not blank (why should you have blank customer names?), then the same but for all countries and then make a ration out of it. It does not seem to be what you want: "I'm trying to find the percentage of Work Types that have complete date values as opposed to blank values."</description>
      <pubDate>Wed, 19 Aug 2020 15:35:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308049#M22754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-19T15:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Work Order Completion Percentage by Type</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308111#M22759</link>
      <description>&lt;P&gt;That's a formula I found here in the forums that I replaced with my table names and such. I may have forgotten to mention that. Work types will never be empty but completed dates can be. I want to calculate the amount of work types with completed dates as a percentage of all work orders completed against work orders with no completion date entry.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 15:48:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308111#M22759</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-19T15:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Work Order Completion Percentage by Type</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308161#M22765</link>
      <description>&lt;P&gt;I did figure a way to create a measure to count blank cells and a measure to count non blank cells. How would I use those to get a percentage?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 16:08:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308161#M22765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-19T16:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Work Order Completion Percentage by Type</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308176#M22766</link>
      <description>&lt;P&gt;divide( [A], [B] ) and the percent sign you get by formatting the expression. Use the formatting option on the ribbon. You should not multiply the expression by 100.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 16:19:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308176#M22766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-19T16:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Work Order Completion Percentage by Type</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308222#M22769</link>
      <description>&lt;P&gt;Thank you. I don't know why I didn't think of that. It was part of my first try at doing all this before doing counts. Much appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 16:39:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308222#M22769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-19T16:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Work Order Completion Percentage by Type</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308328#M22781</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , not sure but Open % should be like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;open % = &lt;BR /&gt;DIVIDE(&lt;BR /&gt;CALCULATE(DISTINCTCOUNT(Table[CustomerName]), ALL(Table), isblank(Table[[Actual Completion Date])),&lt;BR /&gt;CALCULATE(DISTINCTCOUNT(Table[CustomerName]), ALL(Table) )&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;open % = &lt;BR /&gt;DIVIDE(&lt;BR /&gt;CALCULATE(DISTINCTCOUNT(Table[CustomerName]), (Table), isblank(Table[[Actual Completion Date])),&lt;BR /&gt;CALCULATE(DISTINCTCOUNT(Table[CustomerName]) )&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;closed % = &lt;BR /&gt;DIVIDE(&lt;BR /&gt;CALCULATE(DISTINCTCOUNT(Table[CustomerName]), ALL(Table), not(isblank(Table[[Actual Completion Date]))),&lt;BR /&gt;CALCULATE(DISTINCTCOUNT(Table[CustomerName]), ALL(Table) )&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;closed % = &lt;BR /&gt;DIVIDE(&lt;BR /&gt;CALCULATE(DISTINCTCOUNT(Table[CustomerName]), (Table), not(isblank(Table[[Actual Completion Date]))),&lt;BR /&gt;CALCULATE(DISTINCTCOUNT(Table[CustomerName]) )&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 17:25:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308328#M22781</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-08-19T17:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Work Order Completion Percentage by Type</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308347#M22782</link>
      <description>&lt;P&gt;I've used the simpler one as my solution, but I'm definitely going to try this as well. I'm trying to learn and get better at Power Bi. So many sources of information and free training out there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 17:33:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Work-Order-Completion-Percentage-by-Type/m-p/1308347#M22782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-19T17:33:46Z</dc:date>
    </item>
  </channel>
</rss>

