<?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: changing names of future dates for forecasting bar chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/changing-names-of-future-dates-for-forecasting-bar-chart/m-p/4024268#M158842</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="639063" data-lia-user-login="acamar22" class="lia-mention lia-mention-user"&gt;acamar22&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Regarding your question, I guess you are using the date hierarchy that Power BI automatically creates.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;We can manually create a date hierarchy for drilling.&lt;/P&gt;
&lt;P&gt;The Table data is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please follow these steps:&lt;/P&gt;
&lt;P&gt;1.Use the following DAX expression to create a table&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 = 
VAR _table = UNION('Table',ROW("Date",BLANK(),"Value",BLANK()))
RETURN ADDCOLUMNS(_table,
"Year",IF(ISBLANK([Date]),"Forecasting",YEAR([Date]) &amp;amp; ""),
"Quarter",IF(ISBLANK([Date]),"Forecasting",QUARTER([Date]) &amp;amp; ""),
"Month",IF(ISBLANK([Date]),"Forecasting",MONTH([Date]) &amp;amp; ""),
"Day",IF(ISBLANK([Date]),"Forecasting",DAY([Date]) &amp;amp; "")
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2.Final output&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;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Wenbin Zhou&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2024 06:25:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-04T06:25:56Z</dc:date>
    <item>
      <title>changing names of future dates for forecasting bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/changing-names-of-future-dates-for-forecasting-bar-chart/m-p/4023354#M158782</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have date in a hierchy bar chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my Date Table, I've created an extra month after my data ends. I am using this month as my "Forecasting Month".&amp;nbsp; I attached a measure to this blank date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I can't seem to rename this date to "Forecasting", when I plug it into my table. I am aware this can be done with indexing, but I'd like to keep it in date hierchy form, not text (to drill down). How can I change the name of the final month-date on the bar chart?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 16:21:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/changing-names-of-future-dates-for-forecasting-bar-chart/m-p/4023354#M158782</guid>
      <dc:creator>acamar22</dc:creator>
      <dc:date>2024-07-03T16:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: changing names of future dates for forecasting bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/changing-names-of-future-dates-for-forecasting-bar-chart/m-p/4024268#M158842</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="639063" data-lia-user-login="acamar22" class="lia-mention lia-mention-user"&gt;acamar22&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Regarding your question, I guess you are using the date hierarchy that Power BI automatically creates.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;We can manually create a date hierarchy for drilling.&lt;/P&gt;
&lt;P&gt;The Table data is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please follow these steps:&lt;/P&gt;
&lt;P&gt;1.Use the following DAX expression to create a table&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 = 
VAR _table = UNION('Table',ROW("Date",BLANK(),"Value",BLANK()))
RETURN ADDCOLUMNS(_table,
"Year",IF(ISBLANK([Date]),"Forecasting",YEAR([Date]) &amp;amp; ""),
"Quarter",IF(ISBLANK([Date]),"Forecasting",QUARTER([Date]) &amp;amp; ""),
"Month",IF(ISBLANK([Date]),"Forecasting",MONTH([Date]) &amp;amp; ""),
"Day",IF(ISBLANK([Date]),"Forecasting",DAY([Date]) &amp;amp; "")
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2.Final output&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;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Wenbin Zhou&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 06:25:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/changing-names-of-future-dates-for-forecasting-bar-chart/m-p/4024268#M158842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-04T06:25:56Z</dc:date>
    </item>
  </channel>
</rss>

