<?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: Measure based on selected periods (year,quarter, month) and based on dates present in fact table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-selected-periods-year-quarter-month-and-based/m-p/2306798#M57162</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , check if you need come think similar to active employees in this blog&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using a date table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jan 2022 04:45:25 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-01-28T04:45:25Z</dc:date>
    <item>
      <title>Measure based on selected periods (year,quarter, month) and based on dates present in fact table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-selected-periods-year-quarter-month-and-based/m-p/2306762#M57160</link>
      <description>&lt;P&gt;In PBI desktop...a big challenge Im facing...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a measure (# of Litigation Orders) that calculates a count where status=Litigation for each order in a given period.&amp;nbsp; On the table we have a field named "start of litigation" and another field called "end of litigation" in the same "Orders table".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Imagine that I selected two separated periods in a date table hierarchy filter (2021,q1, m1) and (2021, q2, m5), considering that our date table has a physical relationship with the Orders table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm eager to know how many orders were in Litigation at that periods using that measure in a line chart by Period, for example. What dax expression should I use to achieve my goal as fast as accurate?? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 04:11:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-selected-periods-year-quarter-month-and-based/m-p/2306762#M57160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-28T04:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Measure based on selected periods (year,quarter, month) and based on dates present in fact table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-selected-periods-year-quarter-month-and-based/m-p/2306798#M57162</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , check if you need come think similar to active employees in this blog&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using a date table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 04:45:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-selected-periods-year-quarter-month-and-based/m-p/2306798#M57162</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-01-28T04:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Measure based on selected periods (year,quarter, month) and based on dates present in fact table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-selected-periods-year-quarter-month-and-based/m-p/2314784#M57635</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you followed the link posted by amitchandak to find the solution to your problem?&lt;/P&gt;
&lt;P&gt;If so, would you like to &lt;STRONG&gt;mark his reply as a solution&lt;/STRONG&gt; so that others can learn from it too?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you still have a problem, you can post some sample data(without sensitive data) and your expected result.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&amp;nbsp;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Robert Qin&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 08:02:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-selected-periods-year-quarter-month-and-based/m-p/2314784#M57635</guid>
      <dc:creator>v-robertq-msft</dc:creator>
      <dc:date>2022-02-02T08:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Measure based on selected periods (year,quarter, month) and based on dates present in fact table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-selected-periods-year-quarter-month-and-based/m-p/2315224#M57654</link>
      <description>&lt;P&gt;It works! Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 11:51:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-selected-periods-year-quarter-month-and-based/m-p/2315224#M57654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-02T11:51:52Z</dc:date>
    </item>
  </channel>
</rss>

