<?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: If Statements with Between Dates multi conditions in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-Statements-with-Between-Dates-multi-conditions/m-p/3036462#M103997</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp; THANK YOU!!!!&lt;/P&gt;</description>
    <pubDate>Sun, 22 Jan 2023 22:44:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-22T22:44:01Z</dc:date>
    <item>
      <title>If Statements with Between Dates multi conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-Statements-with-Between-Dates-multi-conditions/m-p/3036395#M103994</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to write a formula in a column that says:&lt;/P&gt;&lt;P&gt;IF(Open_Date, between 2021-01-01 and 2020-07-31 then 0%,&lt;/P&gt;&lt;P&gt;IF(Open_Date, between 2022-08-01 and 2022-12-31 then 2% * 1,&lt;BR /&gt;IF(Open_Date, between 2023-01-01 and 2023-31-12 then 3% * 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would anyone be able to assist me please?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;D&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2023 20:52:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-Statements-with-Between-Dates-multi-conditions/m-p/3036395#M103994</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-22T20:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: If Statements with Between Dates multi conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-Statements-with-Between-Dates-multi-conditions/m-p/3036433#M103996</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;I would try something like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = 
  SWITCH(TRUE(),
    [Open_Date] &amp;gt;= DATE(2020,7,31) &amp;amp;&amp;amp; [Open Date] &amp;lt;= DATE(2021,1,1),0,
    [Open_Date] &amp;gt;= DATE(2022,8,1) &amp;amp;&amp;amp; [Open Date] &amp;lt;= DATE(2022,12,31),.02*1,
    [Open_Date] &amp;gt;= DATE(2023,1,1) &amp;amp;&amp;amp; [Open Date] &amp;lt;= DATE(2023,12,31),.03*1
  )
&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 22 Jan 2023 21:52:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-Statements-with-Between-Dates-multi-conditions/m-p/3036433#M103996</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-01-22T21:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: If Statements with Between Dates multi conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-Statements-with-Between-Dates-multi-conditions/m-p/3036462#M103997</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp; THANK YOU!!!!&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2023 22:44:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-Statements-with-Between-Dates-multi-conditions/m-p/3036462#M103997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-22T22:44:01Z</dc:date>
    </item>
  </channel>
</rss>

