<?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: Counting from start month-end month: First time didn't work in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1755717#M36664</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Mar 2021 21:08:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-03-30T21:08:24Z</dc:date>
    <item>
      <title>Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1746627#M36334</link>
      <description>&lt;P&gt;I am working on a contract labor dashboard, I need to count the person in contract from their start date through their end date- without having to create multiple entries per each labor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Bob Smith started 01-01-2021 and ends July 30, 2021- so Bob would count January, February, March, April, May, June, and July&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sally Sue started February 15 and ends May 15- so Sally would count February, March, April, and May.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the formula set as:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count =&lt;/P&gt;&lt;P&gt;VAR Tab =&lt;/P&gt;&lt;P&gt;FILTER('CL Labor Count Table',&lt;/P&gt;&lt;P&gt;'CL Labor Count Table'[Start Date]&amp;lt;= MAX('Date Table'[Date])&lt;/P&gt;&lt;P&gt;&amp;amp;&amp;amp; 'CL Labor Count Table'[End Date]&amp;gt;= MIN('Date Table'[Date])&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;CALCULATE(COUNT('CL Labor Count Table'[Lawson ID]), Tab)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but this is&amp;nbsp; only showing to the start month. HELP!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 21:43:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1746627#M36334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-25T21:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1749172#M36409</link>
      <description>&lt;P&gt;you need to protect your date table date range from the filter context transition. Use variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is "[Lawson ID]" ? Didn't you say you want to count months?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Mar 2021 03:22:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1749172#M36409</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-03-27T03:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752302#M36528</link>
      <description>&lt;P&gt;Yes it is counting each ID for the month.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 15:57:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752302#M36528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-29T15:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752687#M36565</link>
      <description>&lt;P&gt;How would I do that exactly? I am still relatively new to powerBI and I am trying to learn as fast as I can.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 19:37:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752687#M36565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-29T19:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752750#M36567</link>
      <description>&lt;P&gt;Please provide sample data in usable format (not as a picture) and show the expected outcome.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 20:28:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752750#M36567</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-03-29T20:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752759#M36568</link>
      <description>&lt;P&gt;Examples&lt;/P&gt;&lt;P&gt;Lawson&amp;nbsp; &amp;nbsp; &amp;nbsp;Start Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Desired Outcome&lt;/P&gt;&lt;P&gt;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1/1/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3/16/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Count for Jan, Feb, Mar&lt;/P&gt;&lt;P&gt;456&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2/1/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 6/2/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Count for Feb, Mar, Apr, May, Jun&lt;/P&gt;&lt;P&gt;789&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2/15/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 7/15/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Count for Feb, Mar, Apr, May, Jun, Jul&lt;/P&gt;&lt;P&gt;987&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3/1/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6/2/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Count for Mar, Apr, May, Jun&lt;/P&gt;&lt;P&gt;654&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3/17/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8/8/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Count for Mar, Apr, May, Jun, Jul, Aug&lt;/P&gt;&lt;P&gt;321&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3/29/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5/2/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Count for Mar, Apr, May&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have a date table separate from this as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 20:35:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752759#M36568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-29T20:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752790#M36571</link>
      <description>&lt;P&gt;Do you need the month name or the month number?&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>Mon, 29 Mar 2021 20:53:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752790#M36571</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-03-29T20:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752795#M36572</link>
      <description>&lt;P&gt;I would need month and year.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 20:56:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752795#M36572</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-29T20:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752796#M36573</link>
      <description>&lt;P&gt;Please revise your desired outcome example.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 20:57:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752796#M36573</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-03-29T20:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752866#M36577</link>
      <description>&lt;P&gt;Table name is Contract Labor&lt;/P&gt;&lt;P&gt;Standardized Date table is Date Table&lt;/P&gt;&lt;P&gt;Lawson is the number identifier&lt;/P&gt;&lt;P&gt;There is the possibility of adding data from 2019, and 2020 as that will be formatted the same way. I would want to be able to display total numbers for each month (currently I have 494 active for March 2021)&lt;/P&gt;&lt;P&gt;Lawson&amp;nbsp; &amp;nbsp; &amp;nbsp;Start Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Desired Outcome for the ID&amp;nbsp; to be counted in 2021:&lt;/P&gt;&lt;P&gt;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1/1/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3/16/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Jan, Feb, Mar&lt;/P&gt;&lt;P&gt;456&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2/1/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 6/2/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Feb, Mar, Apr, May, Jun&lt;/P&gt;&lt;P&gt;789&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2/15/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 7/15/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Feb, Mar, Apr, May, Jun, Jul&lt;/P&gt;&lt;P&gt;987&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3/1/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6/2/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Mar, Apr, May, Jun&lt;/P&gt;&lt;P&gt;654&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3/17/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8/8/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Mar, Apr, May, Jun, Jul, Aug&lt;/P&gt;&lt;P&gt;321&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3/29/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5/2/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Mar, Apr, May&lt;/P&gt;&lt;P&gt;246&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12/4/2020&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4/2/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dec 2020, Jan, Feb, Mar, Apr&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 21:50:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752866#M36577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-29T21:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752883#M36581</link>
      <description>&lt;P&gt;I still don't get it.&amp;nbsp; You say "&lt;SPAN&gt;I would want to be able to display&lt;STRONG&gt; total numbers for each month&lt;/STRONG&gt; (currently I have 494 active for March 2021)"&amp;nbsp; yet your desired outcome shows a list of month names.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Total numbers of what?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 22:08:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752883#M36581</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-03-29T22:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752885#M36582</link>
      <description>&lt;P&gt;They person would need to count in each of those months based off their start date and end date. It is counting the time between essentially.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edited to add- I am putting this into a graph to show counts of contract labor over time if that gives a better context to track how much is being spent on contracted labor.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 22:18:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752885#M36582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-29T22:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752936#M36585</link>
      <description>&lt;P&gt;I think I understand now.&amp;nbsp; For this execise I created a sample calendar calculated table (MYS is used to sort MY)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;Date Table = ADDCOLUMNS(CALENDAR(min('Contract Labor'[Start Date]),max('Contract Labor'[End Date])),"MY",FORMAT([Date],"MMM YYYY"),"MYS",YEAR([Date])*100+MONTH([Date]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Note: The Date Table should not be connected to the Contract Labor table.&lt;/P&gt;
&lt;P&gt;Here's your measure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;Count = 
var m = SELECTEDVALUE('Date Table'[MYS])
var l  = ADDCOLUMNS('Contract Labor',"ct",if(YEAR('Contract Labor'[Start Date])*100+MONTH('Contract Labor'[Start Date])&amp;lt;=m &amp;amp;&amp;amp; YEAR('Contract Labor'[End Date])*100+MONTH('Contract Labor'[End Date])&amp;gt;=m,1,0))
return sumx(l,[ct])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&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;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 23:37:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752936#M36585</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-03-29T23:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752959#M36586</link>
      <description>&lt;P&gt;I think it is close to a break through. Any possibility of a meeting to do a live demonstration? All I would need is your email and what date/time works best for you. Which TZ are you in?&lt;BR /&gt;&lt;BR /&gt;I have the Date/MY table you created connected in my data, but it is only showing the start date. I am working on the outcome information now (since it's not done)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 23:37:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752959#M36586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-29T23:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752962#M36587</link>
      <description>&lt;P&gt;For this exercise you need a disconnected date table, and it needs a Month Number column (year*100+month). I am not sure how to do this when the date table is connected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT:&amp;nbsp; Never mind. Simply adding ALL() did the trick. Still need the Month Number column though.&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;Count = 
var m = SELECTEDVALUE('Date Table'[MYS])
var l  = ADDCOLUMNS(ALL('Contract Labor'),"ct",if(YEAR('Contract Labor'[Start Date])*100+MONTH('Contract Labor'[Start Date])&amp;lt;=m &amp;amp;&amp;amp; YEAR('Contract Labor'[End Date])*100+MONTH('Contract Labor'[End Date])&amp;gt;=m,1,0))
return sumx(l,[ct])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 23:49:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1752962#M36587</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-03-29T23:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1755684#M36661</link>
      <description>&lt;P&gt;I've been trying to get this right and see if I can adjust for the answer but I keep getting the error message "The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value"&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 20:40:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1755684#M36661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-30T20:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1755713#M36663</link>
      <description>&lt;P&gt;Please show the DAX code where you hit that issue.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 21:05:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1755713#M36663</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-03-30T21:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1755717#M36664</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 21:08:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1755717#M36664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-30T21:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1755720#M36665</link>
      <description>&lt;P&gt;is that your only line of code?&amp;nbsp; A calculated column and a measure need to return a single (scalar) value.&amp;nbsp; You can use the code as it is, but only for a calculated table.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 21:11:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1755720#M36665</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-03-30T21:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Counting from start month-end month: First time didn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1755725#M36666</link>
      <description>&lt;P&gt;I did create a table based on the table you had sent below.&amp;nbsp; (I couldn't post the formula it said I was flooding).&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 21:18:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-from-start-month-end-month-First-time-didn-t-work/m-p/1755725#M36666</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-30T21:18:01Z</dc:date>
    </item>
  </channel>
</rss>

