<?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 Create columns - Number on roll using start and end dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-columns-Number-on-roll-using-start-and-end-dates/m-p/4618489#M176747</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Create custom columns January to December&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 15:20:20 GMT</pubDate>
    <dc:creator>Chika100</dc:creator>
    <dc:date>2025-03-20T15:20:20Z</dc:date>
    <item>
      <title>Create columns - Number on roll using start and end dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-columns-Number-on-roll-using-start-and-end-dates/m-p/4618489#M176747</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Create custom columns January to December&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 15:20:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-columns-Number-on-roll-using-start-and-end-dates/m-p/4618489#M176747</guid>
      <dc:creator>Chika100</dc:creator>
      <dc:date>2025-03-20T15:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create columns - Number on roll using start and end dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-columns-Number-on-roll-using-start-and-end-dates/m-p/4618737#M176761</link>
      <description>&lt;P&gt;I think I understand what you want to do.&amp;nbsp; A few steps to this idea:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Relate the Staff table to a Calendar or Date table on the StartDate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Create a measure counting the the entries in your staff column that are active in that month:&lt;/P&gt;&lt;P&gt;ActiveEmployeeCount =&amp;nbsp;&lt;/P&gt;&lt;P&gt;VAR MinDate = Min(DateTable[Date])&lt;BR /&gt;VAR StartDate = SelectedValue(StaffTable[StartDate])&lt;BR /&gt;CALCULATE(CountRows(StaffTable), ISBLANK(EndDate), StartDate &amp;gt;= MinDate)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.Create a matrix visual using your StaffID as rows and date table month as columns.&amp;nbsp; Place the new measure in the values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 18:29:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-columns-Number-on-roll-using-start-and-end-dates/m-p/4618737#M176761</guid>
      <dc:creator>d_m_LNK</dc:creator>
      <dc:date>2025-03-20T18:29:59Z</dc:date>
    </item>
  </channel>
</rss>

