<?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 Need Help in changing the format of DAX formula in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-in-changing-the-format-of-DAX-formula/m-p/2499966#M69097</link>
    <description>&lt;P&gt;Hi Team,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/317289" target="_blank" rel="noopener"&gt;@tamerj1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping in the below mentioned question.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Need-Help-with-DAX-Command/m-p/2499851#M69086" target="_blank" rel="noopener"&gt;Solved: Re: Need Help with DAX Command - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;below is the formula which is working fine .&lt;BR /&gt;CYCQCW-Win Rev =&lt;BR /&gt;VAR CurrentFCST = MAX ( 'Trend'[FCST] )&lt;BR /&gt;VAR CurrentWeek = MAX ( 'Trend'[WEEK_NUM] )&lt;BR /&gt;VAR CurrentStage = MAX ( 'Trend'[SS_No])&lt;BR /&gt;VAR CurrentValue = MAX ( 'Trend'[REV$M] )&lt;BR /&gt;VAR MaxWeek = CALCULATE ( MAX ( 'Trend'[WEEK_NUM] ), ALLEXCEPT ( 'Trend', 'Trend'[FCST] ) )&lt;BR /&gt;RETURN&lt;BR /&gt;IF (&lt;BR /&gt;CurrentFCST = "CQ" &amp;amp;&amp;amp; CurrentWeek = MaxWeek &amp;amp;&amp;amp; CurrentStage IN { "07", "08" },&lt;BR /&gt;CurrentValue,&lt;BR /&gt;0&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;After creating a column with above formula i converted it into a card and then i wanted to add $ and M and hence tried changing the format but it is not allowing me to chnage the format from text to currency.&lt;/P&gt;&lt;P&gt;Can anyone please help me !!&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regrards&lt;BR /&gt;Shiv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 07 May 2022 19:22:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-05-07T19:22:20Z</dc:date>
    <item>
      <title>Need Help in changing the format of DAX formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-in-changing-the-format-of-DAX-formula/m-p/2499966#M69097</link>
      <description>&lt;P&gt;Hi Team,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/317289" target="_blank" rel="noopener"&gt;@tamerj1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping in the below mentioned question.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Need-Help-with-DAX-Command/m-p/2499851#M69086" target="_blank" rel="noopener"&gt;Solved: Re: Need Help with DAX Command - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;below is the formula which is working fine .&lt;BR /&gt;CYCQCW-Win Rev =&lt;BR /&gt;VAR CurrentFCST = MAX ( 'Trend'[FCST] )&lt;BR /&gt;VAR CurrentWeek = MAX ( 'Trend'[WEEK_NUM] )&lt;BR /&gt;VAR CurrentStage = MAX ( 'Trend'[SS_No])&lt;BR /&gt;VAR CurrentValue = MAX ( 'Trend'[REV$M] )&lt;BR /&gt;VAR MaxWeek = CALCULATE ( MAX ( 'Trend'[WEEK_NUM] ), ALLEXCEPT ( 'Trend', 'Trend'[FCST] ) )&lt;BR /&gt;RETURN&lt;BR /&gt;IF (&lt;BR /&gt;CurrentFCST = "CQ" &amp;amp;&amp;amp; CurrentWeek = MaxWeek &amp;amp;&amp;amp; CurrentStage IN { "07", "08" },&lt;BR /&gt;CurrentValue,&lt;BR /&gt;0&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;After creating a column with above formula i converted it into a card and then i wanted to add $ and M and hence tried changing the format but it is not allowing me to chnage the format from text to currency.&lt;/P&gt;&lt;P&gt;Can anyone please help me !!&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regrards&lt;BR /&gt;Shiv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2022 19:22:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-in-changing-the-format-of-DAX-formula/m-p/2499966#M69097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-07T19:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in changing the format of DAX formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-in-changing-the-format-of-DAX-formula/m-p/2499974#M69099</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check the data type in power query should be decimal&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2022 19:44:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-in-changing-the-format-of-DAX-formula/m-p/2499974#M69099</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-07T19:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in changing the format of DAX formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-in-changing-the-format-of-DAX-formula/m-p/2509741#M69582</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team _ kalyj&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 07:33:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-in-changing-the-format-of-DAX-formula/m-p/2509741#M69582</guid>
      <dc:creator>v-yanjiang-msft</dc:creator>
      <dc:date>2022-05-12T07:33:31Z</dc:date>
    </item>
  </channel>
</rss>

