<?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 function + left and right in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1391420#M25517</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;I don't know why my reply wasn't shown up here&lt;/P&gt;&lt;P&gt;the formula is incorrect again&amp;nbsp;&lt;/P&gt;&lt;P&gt;i cannot calculate years&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Sep 2020 23:30:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-23T23:30:29Z</dc:date>
    <item>
      <title>If function + left and right</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1389179#M25425</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the below table and trying to make an end of month formula, but I don't the formula calculates wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;EOM = EOMONTH(IF(AND('Finance Forecast - Test'[FYPeriod]&amp;gt;7, 'Finance Forecast - Test'[FYPeriod]&amp;lt;12) , DATE(RIGHT('Finance Forecast - Test'[FY],4), 'Finance Forecast - Test'[FYPeriod]+6, 1), DATE(2000+LEFT('Finance Forecast - Test'[FY],2), 'Finance Forecast - Test'[FYPeriod]-6, 1)),0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Can any tell me please why the formula doesn't calculate correctly?&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Sep 2020 05:57:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1389179#M25425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-23T05:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: If function + left and right</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1389280#M25426</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , Try like &lt;/P&gt;
&lt;P&gt;EOM =&lt;BR /&gt;var _col = if([FYPeriod] &amp;gt;=6 , [FYPeriod] -6, [FYPeriod] +6)&lt;BR /&gt;return&lt;BR /&gt;eomonth(date(left([FY],4),_col,1),0)&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 06:36:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1389280#M25426</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-09-23T06:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: If function + left and right</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1389453#M25434</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;,&amp;nbsp;do it in Power Query. It'll be sooooo much simpler. In PQ, split the FY column and get the first component, then create a string from Month and the new column adding "1" to obtain something like "June 1, 2019", then turn this into a real date using PQ functions or the functionality in the ribbon and then use the datetime intelligence in PQ (not in DAX!), to get the last day of the month. It's much easier done than said!... which is the best part of doing such things in PQ. And it'll be 100% error-free.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 07:33:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1389453#M25434</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-23T07:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: If function + left and right</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1391420#M25517</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;I don't know why my reply wasn't shown up here&lt;/P&gt;&lt;P&gt;the formula is incorrect again&amp;nbsp;&lt;/P&gt;&lt;P&gt;i cannot calculate years&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 23:30:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1391420#M25517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-23T23:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: If function + left and right</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1391445#M25520</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;I am not good in Query, can you help me, please?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 00:15:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1391445#M25520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-24T00:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: If function + left and right</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1392406#M25534</link>
      <description>&lt;A href="https://youtu.be/ioVM77JDIXE" target="_blank"&gt;https://youtu.be/ioVM77JDIXE&lt;/A&gt;</description>
      <pubDate>Thu, 24 Sep 2020 08:27:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1392406#M25534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-24T08:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: If function + left and right</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1394248#M25589</link>
      <description>&lt;P&gt;That is the answer of my question for anyone interested in&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;EOM = EOMONTH(IF('Finance Forecast - Test'[FYPeriod]&amp;lt;=6, DATE(LEFT('Finance Forecast - Test'[FY],4), 'Finance Forecast - Test'[FYPeriod]+6, 1), DATE(2000+RIGHT('Finance Forecast - Test'[FY],2), 'Finance Forecast - Test'[FYPeriod]-6, 1)),0)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Sep 2020 23:14:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-function-left-and-right/m-p/1394248#M25589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-24T23:14:50Z</dc:date>
    </item>
  </channel>
</rss>

