<?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 getting a '1' or '0' based upon a date column and a condition column (Planned/Occurred) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/getting-a-1-or-0-based-upon-a-date-column-and-a-condition-column/m-p/1210590#M19488</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I asked this recently in another post but the advised steps did not work,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to create a column based on the following two columns. I am trying to get any items listed as 'planned' in the 'Interaction column' but have past there 'date of interaction' date to show as a value (1) - I will refer to thesae values in this post as 'Overdue'. Items listed as planned that are still in the future would not show.&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;&lt;P&gt;&lt;SPAN&gt;The resulting column would show a '1' for enteries not being overdue and a '1' being in place where the entries are overdue, likewise items not overdue (having been tagged as planned but where the date falls in the future) would show a '0' value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would appreciate any and all help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jul 2020 03:26:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-07-09T03:26:18Z</dc:date>
    <item>
      <title>getting a '1' or '0' based upon a date column and a condition column (Planned/Occurred)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/getting-a-1-or-0-based-upon-a-date-column-and-a-condition-column/m-p/1210590#M19488</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I asked this recently in another post but the advised steps did not work,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to create a column based on the following two columns. I am trying to get any items listed as 'planned' in the 'Interaction column' but have past there 'date of interaction' date to show as a value (1) - I will refer to thesae values in this post as 'Overdue'. Items listed as planned that are still in the future would not show.&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;&lt;P&gt;&lt;SPAN&gt;The resulting column would show a '1' for enteries not being overdue and a '1' being in place where the entries are overdue, likewise items not overdue (having been tagged as planned but where the date falls in the future) would show a '0' value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would appreciate any and all help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 03:26:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/getting-a-1-or-0-based-upon-a-date-column-and-a-condition-column/m-p/1210590#M19488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-09T03:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: getting a '1' or '0' based upon a date column and a condition column (Planned/Occurred)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/getting-a-1-or-0-based-upon-a-date-column-and-a-condition-column/m-p/1211911#M19516</link>
      <description>&lt;P&gt;If you post the data (not a picture) and show the desired output I am sure we can get this solved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you also clarify this part "&lt;SPAN&gt;The resulting column would show a '1' for enteries not being overdue and a '1' being in place where the entries are overdue&lt;/SPAN&gt;" -&amp;nbsp; this will get cleared up if you can show the column in your desired output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see the data in 3 categories:&lt;/P&gt;
&lt;P&gt;Planned, earlier than today or today&amp;nbsp; --&amp;gt; Overdue so show 1&lt;/P&gt;
&lt;P&gt;Planned, later than today --&amp;gt; 0&lt;/P&gt;
&lt;P&gt;Occurred. --&amp;gt; 0&lt;/P&gt;
&lt;P&gt;Is that right?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 12:43:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/getting-a-1-or-0-based-upon-a-date-column-and-a-condition-column/m-p/1211911#M19516</guid>
      <dc:creator>HotChilli</dc:creator>
      <dc:date>2020-07-09T12:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: getting a '1' or '0' based upon a date column and a condition column (Planned/Occurred)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/getting-a-1-or-0-based-upon-a-date-column-and-a-condition-column/m-p/1212007#M19525</link>
      <description>&lt;P&gt;Hi, I've just done a very similar problem. My way may work for you. I made a new column&amp;nbsp;&lt;/P&gt;&lt;P&gt;CalDueStatus = IF([Calibration Due]&amp;gt;TODAY(), 1, 10)&lt;/P&gt;&lt;P&gt;I used 1 &amp;amp; 10 for testing. Then another column with conditional formating (as per attached) to get the RAG effect.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 13:34:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/getting-a-1-or-0-based-upon-a-date-column-and-a-condition-column/m-p/1212007#M19525</guid>
      <dc:creator>Pete_MASS</dc:creator>
      <dc:date>2020-07-09T13:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: getting a '1' or '0' based upon a date column and a condition column (Planned/Occurred)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/getting-a-1-or-0-based-upon-a-date-column-and-a-condition-column/m-p/1275644#M21601</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you still have issues with this?&lt;BR /&gt;&lt;BR /&gt;If you've fixed the issue on your own please kindly share your solution. If the above posts help, please kindly mark it as a solution to help others find it more quickly. Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;Sturla&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 20:13:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/getting-a-1-or-0-based-upon-a-date-column-and-a-condition-column/m-p/1275644#M21601</guid>
      <dc:creator>sturlaws</dc:creator>
      <dc:date>2020-08-05T20:13:39Z</dc:date>
    </item>
  </channel>
</rss>

