<?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 Active Month In Use in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-Month-In-Use/m-p/1837848#M39173</link>
    <description>&lt;P&gt;Hi, I created a calculated column Mont h in use which calculates the number of Months from the service data for each location e.g column 1 is the first service Month and column 6 is 6 Months after. However, I want each next Month to be Months when the service is active, that is only when there are values. For example in row 1 values in months 14-19 should be in columns 6-12.&lt;/P&gt;&lt;P&gt;Below is my dax code&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Months in Use (Location) = FLOOR(DATEDIFF(RELATED(categories[First Feedback]), RELATED('Time'[Start Of Day]), DAY) / (365/12), 1) + 1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 12 May 2021 07:53:53 GMT</pubDate>
    <dc:creator>bolarinwa</dc:creator>
    <dc:date>2021-05-12T07:53:53Z</dc:date>
    <item>
      <title>Active Month In Use</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-Month-In-Use/m-p/1837848#M39173</link>
      <description>&lt;P&gt;Hi, I created a calculated column Mont h in use which calculates the number of Months from the service data for each location e.g column 1 is the first service Month and column 6 is 6 Months after. However, I want each next Month to be Months when the service is active, that is only when there are values. For example in row 1 values in months 14-19 should be in columns 6-12.&lt;/P&gt;&lt;P&gt;Below is my dax code&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Months in Use (Location) = FLOOR(DATEDIFF(RELATED(categories[First Feedback]), RELATED('Time'[Start Of Day]), DAY) / (365/12), 1) + 1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 May 2021 07:53:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-Month-In-Use/m-p/1837848#M39173</guid>
      <dc:creator>bolarinwa</dc:creator>
      <dc:date>2021-05-12T07:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Active Month In Use</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-Month-In-Use/m-p/1837940#M39175</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="82527" data-lia-user-login="bolarinwa" class="lia-mention lia-mention-user"&gt;bolarinwa&lt;/a&gt; , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refer if this can help&lt;/P&gt;
&lt;P&gt;How to divide/distribute values between start date or end date or count days across months/days: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-or-end-date/ba-p/1503785" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-or-end-date/ba-p/1503785&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 08:19:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-Month-In-Use/m-p/1837940#M39175</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-05-12T08:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Active Month In Use</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-Month-In-Use/m-p/1837963#M39177</link>
      <description>&lt;P&gt;This is a sample of expected output as compared to the previous table I posted.&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;</description>
      <pubDate>Wed, 12 May 2021 08:28:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-Month-In-Use/m-p/1837963#M39177</guid>
      <dc:creator>bolarinwa</dc:creator>
      <dc:date>2021-05-12T08:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Active Month In Use</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-Month-In-Use/m-p/1838024#M39179</link>
      <description>&lt;P&gt;&lt;img /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;These are the example of input data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 08:57:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-Month-In-Use/m-p/1838024#M39179</guid>
      <dc:creator>bolarinwa</dc:creator>
      <dc:date>2021-05-12T08:57:02Z</dc:date>
    </item>
  </channel>
</rss>

