<?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: please provide solution for below error in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3386721#M127617</link>
    <description>&lt;P&gt;Ok. Thanks for providing solution to my issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will try it and will let you know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding using VAR variables, thanks for guiding me. but i am still in begginers phase of self learning power BI. i have yet to reach that phase. will definitly apply your suggestion once i reach that stage. i am still doing R &amp;amp; D. many more to learn yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once again thanks for your feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ashshiv_123&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Aug 2023 06:43:08 GMT</pubDate>
    <dc:creator>ashshiv_123</dc:creator>
    <dc:date>2023-08-18T06:43:08Z</dc:date>
    <item>
      <title>please provide solution for below error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3379018#M127284</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 12:50:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3379018#M127284</guid>
      <dc:creator>ashshiv_123</dc:creator>
      <dc:date>2023-08-14T12:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: please provide solution for below error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3379047#M127287</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="574555" data-lia-user-login="ashshiv_123" class="lia-mention lia-mention-user"&gt;ashshiv_123&lt;/a&gt;&amp;nbsp; Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Month =
FORMAT ( 'Date'[Date], "YYYY MMM" )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 13:10:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3379047#M127287</guid>
      <dc:creator>nandukrishnavs</dc:creator>
      <dc:date>2023-08-14T13:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: please provide solution for below error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3381927#M127429</link>
      <description>&lt;P&gt;Thanks for your feedback.&lt;/P&gt;&lt;P&gt;Please give solution for second quarter formula error also.&lt;/P&gt;&lt;P&gt;i have to use both simultaneously. so will be able to try this solution only after getting solution for both.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ashshin_123&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 05:03:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3381927#M127429</guid>
      <dc:creator>ashshiv_123</dc:creator>
      <dc:date>2023-08-16T05:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: please provide solution for below error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3381970#M127436</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="574555" data-lia-user-login="ashshiv_123" class="lia-mention lia-mention-user"&gt;ashshiv_123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Quarter =
VAR _monthno =
    MONTH ( 'Date'[Date] )
VAR _result =
    SWITCH (
        TRUE (),
        _monthno &amp;lt;= 3 = "Q3",
            _monthno &amp;lt;= 6 = "Q4",
        _monthno &amp;lt;= 9 = "Q1", "Q2"
    )
RETURN
    _result&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 16 Aug 2023 05:41:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3381970#M127436</guid>
      <dc:creator>nandukrishnavs</dc:creator>
      <dc:date>2023-08-16T05:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: please provide solution for below error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3381990#M127437</link>
      <description>&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i want to know what is wrong in my above dax quarter function? system is giving error. i want to rectify said error please. if you are able to let me know issue with above formula, it will be of great help for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ashshiv_123&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 05:59:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3381990#M127437</guid>
      <dc:creator>ashshiv_123</dc:creator>
      <dc:date>2023-08-16T05:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: please provide solution for below error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3384485#M127514</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="574555" data-lia-user-login="ashshiv_123" class="lia-mention lia-mention-user"&gt;ashshiv_123&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Your mistake was caused by an error in your formulas:&lt;/P&gt;
&lt;P&gt;The first screenshot:&lt;/P&gt;
&lt;P&gt;1. Month[ ] function is wrong, Month() is correct&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MONTH(&amp;lt;datetime&amp;gt;)  &lt;/LI-CODE&gt;
&lt;P&gt;2.&amp;nbsp;Don't nest formulas too much, try use VAR variables&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp;If there is more than one condition, try using the switch function&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The second screenshot&lt;/P&gt;
&lt;P&gt;The format function must have at least two parameters&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;FORMAT(&amp;lt;value&amp;gt;, &amp;lt;format_string&amp;gt;[, &amp;lt;locale_name&amp;gt;])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team_Binbin Yu&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If this post&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;, then please consider&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 06:53:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3384485#M127514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-17T06:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: please provide solution for below error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3386721#M127617</link>
      <description>&lt;P&gt;Ok. Thanks for providing solution to my issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will try it and will let you know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding using VAR variables, thanks for guiding me. but i am still in begginers phase of self learning power BI. i have yet to reach that phase. will definitly apply your suggestion once i reach that stage. i am still doing R &amp;amp; D. many more to learn yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once again thanks for your feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ashshiv_123&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 06:43:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/please-provide-solution-for-below-error/m-p/3386721#M127617</guid>
      <dc:creator>ashshiv_123</dc:creator>
      <dc:date>2023-08-18T06:43:08Z</dc:date>
    </item>
  </channel>
</rss>

