<?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: Convert Date to MMM YYYY with Display title function in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2616174#M76076</link>
    <description>&lt;P&gt;It couldn't generate a link.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jul 2022 03:21:37 GMT</pubDate>
    <dc:creator>evahohk</dc:creator>
    <dc:date>2022-07-04T03:21:37Z</dc:date>
    <item>
      <title>Convert Date to MMM YYYY with Display title function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2615953#M76060</link>
      <description>&lt;P&gt;I have used display title function to display text box value based on filters in Power BI&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DisplayTitle&amp;nbsp; =&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Reporting period : "&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;CONCATENATEX&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;((&lt;/SPAN&gt;&lt;SPAN&gt;'ABC Data'[Period Ending]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;, (&lt;/SPAN&gt;&lt;SPAN&gt;'ABC Data'[Period Ending]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;" , "&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That's how it shows in the table&amp;nbsp;&lt;img /&gt;&lt;BR /&gt;I'm looking for formula to change 1/3/2022 to Mar 2022 in the above coding&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 03 Jul 2022 23:35:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2615953#M76060</guid>
      <dc:creator>evahohk</dc:creator>
      <dc:date>2022-07-03T23:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to MMM YYYY with Display title function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2615989#M76062</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="407859" data-lia-user-login="evahohk" class="lia-mention lia-mention-user"&gt;evahohk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Format = 

var _date = FORMAT(MAX('Table'[Column1]),"MMM YYYY")

return concatenate ("Reporting period : ",_date)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Let me know if you have any questions.&lt;BR /&gt;&lt;BR /&gt;If this solves your issues, please mark it as the &lt;STRONG&gt;solution, &lt;/STRONG&gt;so that others can find it easily. &lt;STRONG&gt;Kudos &lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;are nice too.&lt;BR /&gt;Nathaniel&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 00:24:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2615989#M76062</guid>
      <dc:creator>Nathaniel_C</dc:creator>
      <dc:date>2022-07-04T00:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to MMM YYYY with Display title function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2616003#M76064</link>
      <description>&lt;P&gt;Thanks getting back to me. Sorry that I'm still a beginner of Power BI&lt;BR /&gt;Can you please advise the procedure ? Do I need to create a new measure as below ?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Format = 

var _date = FORMAT(MAX('Table'[Column1]),"MMM YYYY")

return concatenate ("Reporting period : ",_date)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;or how can I add the above coding in DisplayTitle ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DisplayTitle&amp;nbsp; =&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Reporting period : "&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;amp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CONCATENATEX&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;((&lt;/SPAN&gt;&lt;SPAN&gt;'ABC Data'[Period Ending]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;, (&lt;/SPAN&gt;&lt;SPAN&gt;'ABC Data'[Period Ending]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;" , "&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Jul 2022 01:02:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2616003#M76064</guid>
      <dc:creator>evahohk</dc:creator>
      <dc:date>2022-07-04T01:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to MMM YYYY with Display title function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2616008#M76066</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="407859" data-lia-user-login="evahohk" class="lia-mention lia-mention-user"&gt;evahohk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please tell me why you wrote your measure with Values() and Concatenex()? Can you share your .pbix?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Let me know if you have any questions.&lt;BR /&gt;&lt;BR /&gt;If this solves your issues, please mark it as the &lt;STRONG&gt;solution, &lt;/STRONG&gt;so that others can find it easily. &lt;STRONG&gt;Kudos &lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;are nice too.&lt;BR /&gt;Nathaniel&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 01:05:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2616008#M76066</guid>
      <dc:creator>Nathaniel_C</dc:creator>
      <dc:date>2022-07-04T01:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to MMM YYYY with Display title function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2616038#M76067</link>
      <description>&lt;P&gt;I actually copied measures from another website.&amp;nbsp;&lt;BR /&gt;How can I change the dynamic heading based on selection ?&lt;BR /&gt;e.g. Period Ending January 2022, then it will show Reporting period : Jan 2022&lt;BR /&gt;or select period ending January 2022 to February 2022, it will show Reporting period : Jan 2022 to Feb 2022&lt;BR /&gt;Sorry I'm not too sure how can I share&amp;nbsp;&lt;SPAN&gt;.pbix. in this platform.&amp;nbsp;&lt;BR /&gt;I have attached screenshot of the Power BI file.&amp;nbsp;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 01:45:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2616038#M76067</guid>
      <dc:creator>evahohk</dc:creator>
      <dc:date>2022-07-04T01:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to MMM YYYY with Display title function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2616074#M76069</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="407859" data-lia-user-login="evahohk" class="lia-mention lia-mention-user"&gt;evahohk&lt;/a&gt;&amp;nbsp;, right click on your file and go to share, then copy link.&amp;nbsp; You can then post the link in your reply.&lt;/P&gt;
&lt;P&gt;Nathaniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 02:11:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2616074#M76069</guid>
      <dc:creator>Nathaniel_C</dc:creator>
      <dc:date>2022-07-04T02:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to MMM YYYY with Display title function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2616174#M76076</link>
      <description>&lt;P&gt;It couldn't generate a link.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 03:21:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2616174#M76076</guid>
      <dc:creator>evahohk</dc:creator>
      <dc:date>2022-07-04T03:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to MMM YYYY with Display title function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2621630#M76386</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="407859" data-lia-user-login="evahohk" class="lia-mention lia-mention-user"&gt;evahohk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;I have used display title function to display text box value based on filters in Power BI&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Could you share some sample data in&amp;nbsp;&lt;SPAN&gt;'ABC Data'[Period Ending]? (If you can't share files, you can share screenshots, thanks.)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;Community Support Team _Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 07:53:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2621630#M76386</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-07-06T07:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to MMM YYYY with Display title function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2623515#M76536</link>
      <description>&lt;P&gt;Hi Tang,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I change the dynamic heading based on selection ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. If I select Period Ending January 2022, then it will show the heading as Reporting period : Jan 2022&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or select period ending January 2022 to February 2022, it will show Reporting period : Jan 2022 to Feb 2022&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 22:56:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2623515#M76536</guid>
      <dc:creator>evahohk</dc:creator>
      <dc:date>2022-07-06T22:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to MMM YYYY with Display title function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2670940#M79647</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="407859" data-lia-user-login="evahohk" class="lia-mention lia-mention-user"&gt;evahohk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;If I select Period Ending January 2022, then it will show the heading as Reporting period : Jan 2022&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;You can try this measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;title = "Reporting period : " &amp;amp;FORMAT( SELECTEDVALUE('Table'[Column1]),"MMM YYYY")
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;select period ending January 2022 to February 2022, it will show Reporting period : Jan 2022 to Feb 2022&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;In fact, if only one date is selected, the above effect cannot be achieved, so usually we need to select two dates in the slicer to get the period&lt;/P&gt;
&lt;P&gt;try this measure,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;title = 
IF(ISFILTERED('Table'[Column1]),IF(ISBLANK(SELECTEDVALUE('Table'[Column1])),"Reporting period : "&amp;amp;FORMAT( minx(ALLSELECTED('Table'),[Column1]),"MMM YYYY")&amp;amp;" to "&amp;amp;format(MAXX(ALLSELECTED('Table'),[Column1]),"MMM YYYY"),"Reporting period : " &amp;amp;FORMAT( SELECTEDVALUE('Table'[Column1]),"MMM YYYY")))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;Community Support Team _Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2022 04:10:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Date-to-MMM-YYYY-with-Display-title-function/m-p/2670940#M79647</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-07-31T04:10:18Z</dc:date>
    </item>
  </channel>
</rss>

