<?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: A measure based on conditions that I can't do due to lack of experience in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-measure-based-on-conditions-that-I-can-t-do-due-to-lack-of/m-p/2845094#M91030</link>
    <description>&lt;P&gt;Please provide sanitized sample data that fully covers your issue. &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 16 Oct 2022 20:51:28 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2022-10-16T20:51:28Z</dc:date>
    <item>
      <title>A measure based on conditions that I can't do due to lack of experience</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-measure-based-on-conditions-that-I-can-t-do-due-to-lack-of/m-p/2842026#M90817</link>
      <description>&lt;P&gt;Hey there,&amp;nbsp;&lt;BR /&gt;I've been struggling with this problem for a week now, I am relatively new to DAX and have never worked with time series in it.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Pre-requisites (tables):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1) with the Project name and the date when the dashboard was created for it&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2) The Project name (it has parts, like physical parts, and details), part # (part's name), and the date when the part was added&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;What do I want from the measure (there are many projects, but as an example, let's pick project 976)&lt;/P&gt;&lt;P&gt;- As you can see in the tables above, project 976 has a dashboard created in the month of August (8/18/2022)&lt;/P&gt;&lt;P&gt;- And it also has parts that were added both in the same month and a long time ago (before August, for the sake of simplicity)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Conditions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt; If the project has AT LEAST ONE part added in the month OR before its dashboard has been created - the project meets the criteria to be displayed.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt; project 976's dashboard was activated in the month of August, and it has AT LEAST one part that was added in/before August. That is why 976 meets the criteria to be displayed in the stacked bar chart for August and its upcoming months: September, October, and so on.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;2)&amp;nbsp;&lt;/STRONG&gt; If the project doesn't have AT LEAST ONE part added in the month OR before its dashboard has been created - the project does not meet the criteria to be displayed.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&amp;nbsp;Imagine project 976's dashboard was activated in the month of August, but there isn't a single part that was added in/before August. 976 does not meet the criteria to be displayed in the stacked bar chart for August and its upcoming months: September, October, and so on.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;3)&amp;nbsp;&lt;/STRONG&gt;If the project does have AT LEAST ONE part added, BUT it happened AFTER the dashboard has been created - the project should be displayed in the month when both criteria have been met.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&amp;nbsp;Imagine project 976's dashboard was activated in the month of August, but it had AT LEAST one part added in September - project 976 should not be displayed in August, but it should be displayed for September and upcoming months.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;4)&amp;nbsp;&lt;/STRONG&gt;Same rules apply when the project has AT LEAST ONE part in, for example, August, but the dashboard was activated in September: it means that the project should not be displayed in August, but to be displayed starting from September.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This measure will work as a filter for the stacked bar chart which is the count of the projects&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 09:22:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-measure-based-on-conditions-that-I-can-t-do-due-to-lack-of/m-p/2842026#M90817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-14T09:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: A measure based on conditions that I can't do due to lack of experience</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-measure-based-on-conditions-that-I-can-t-do-due-to-lack-of/m-p/2845094#M91030</link>
      <description>&lt;P&gt;Please provide sanitized sample data that fully covers your issue. &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2022 20:51:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-measure-based-on-conditions-that-I-can-t-do-due-to-lack-of/m-p/2845094#M91030</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-10-16T20:51:28Z</dc:date>
    </item>
  </channel>
</rss>

