<?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: Show future x months (slicer based) in bar chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-future-x-months-slicer-based-in-bar-chart/m-p/2658775#M78747</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="401845" data-lia-user-login="technolog" class="lia-mention lia-mention-user"&gt;technolog&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Appreciate your reply! I think I will have to provide the above post as an answer. Despite partly using your recommendation as the solution!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you!&amp;nbsp;&lt;BR /&gt;Solle&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2022 10:06:07 GMT</pubDate>
    <dc:creator>Solle</dc:creator>
    <dc:date>2022-07-25T10:06:07Z</dc:date>
    <item>
      <title>Show future x months (slicer based) in bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-future-x-months-slicer-based-in-bar-chart/m-p/2655676#M78458</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I am looking for some help to generate 3 button slicers that says "Future 3 Months" "Future 6 Months" and "Future 1 year" their purpose is to filter a barchart graph, which looks as below.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;I have tried multiple things, but nothing have seen to work out.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Does anyone know how to create a dax filter, that allows to select those period - The periods should be based on today. There is data present for the future periods and there will always be, as this is future cashflows, as I am trying to generate a cashflow overview in PowerBI.&lt;BR /&gt;&lt;BR /&gt;Let me know if you require anything else from me.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;Solle&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 12:48:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-future-x-months-slicer-based-in-bar-chart/m-p/2655676#M78458</guid>
      <dc:creator>Solle</dc:creator>
      <dc:date>2022-07-22T12:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Show future x months (slicer based) in bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-future-x-months-slicer-based-in-bar-chart/m-p/2655748#M78463</link>
      <description>&lt;P&gt;Hi! Have you tryed using bookmarks?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 13:17:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-future-x-months-slicer-based-in-bar-chart/m-p/2655748#M78463</guid>
      <dc:creator>technolog</dc:creator>
      <dc:date>2022-07-22T13:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Show future x months (slicer based) in bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-future-x-months-slicer-based-in-bar-chart/m-p/2655849#M78477</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="371558" data-lia-user-login="Solle" class="lia-mention lia-mention-user"&gt;Solle&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;I would suggest&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="401845" data-lia-user-login="technolog" class="lia-mention lia-mention-user"&gt;technolog&lt;/a&gt;&amp;nbsp;solution aswell. You can create the bookmark and than use a button to switch between the bookmarks. Same thing can be archieved with the "navigation" button that automatically creates a button for each bookmark. The bookmark documentation can be found here:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-bookmarks?tabs=powerbi-desktop" target="_blank"&gt;Create report bookmarks in Power BI to share insights and build stories - Power BI | Microsoft Docs&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you need to do this in dax you have three options:&lt;BR /&gt;1. The first one I would recommend if you want to do it in dax. This would give you a calculated column to filter on the number of months the date is in the future. So in this case 1 would be August (since its July), 2 is September and so on...&amp;nbsp;&lt;BR /&gt;The dax would look something like this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DATEDIFF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TODAY&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;SPAN&gt;'Datetable'[Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;MONTH&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;DATEDIFF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TODAY&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;SPAN&gt;'Datetable'[Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;MONTH&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;())&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;2. You could create a calculated coloumn in your date table to filter on the different time period.&amp;nbsp;&lt;BR /&gt;3. I would not recommend this, but you could create one column for each time period and filter on is in time period (yes/no).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 13:54:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-future-x-months-slicer-based-in-bar-chart/m-p/2655849#M78477</guid>
      <dc:creator>random_Bi_User</dc:creator>
      <dc:date>2022-07-22T13:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Show future x months (slicer based) in bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-future-x-months-slicer-based-in-bar-chart/m-p/2658771#M78746</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="352874" data-lia-user-login="random_Bi_User" class="lia-mention lia-mention-user"&gt;random_Bi_User&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply - I will try to use your first step and then combine the filter with a bookmark &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Solle&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 10:05:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-future-x-months-slicer-based-in-bar-chart/m-p/2658771#M78746</guid>
      <dc:creator>Solle</dc:creator>
      <dc:date>2022-07-25T10:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Show future x months (slicer based) in bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-future-x-months-slicer-based-in-bar-chart/m-p/2658775#M78747</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="401845" data-lia-user-login="technolog" class="lia-mention lia-mention-user"&gt;technolog&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Appreciate your reply! I think I will have to provide the above post as an answer. Despite partly using your recommendation as the solution!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you!&amp;nbsp;&lt;BR /&gt;Solle&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 10:06:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-future-x-months-slicer-based-in-bar-chart/m-p/2658775#M78747</guid>
      <dc:creator>Solle</dc:creator>
      <dc:date>2022-07-25T10:06:07Z</dc:date>
    </item>
  </channel>
</rss>

