<?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 me on chart data of all year-month from selected date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070112#M106544</link>
    <description>&lt;P&gt;hello everyone,&amp;nbsp;&lt;BR /&gt;i have a bar chart which i want to show the values from the beginning of the year(of selected date) until selected date&lt;BR /&gt;so lets say i chose november 2022 on my slicer,&lt;BR /&gt;i want to show values from january 2022 until november 2022,&lt;BR /&gt;if i select may 2021, i want to display values on chart from january 2021 until may 2021&lt;BR /&gt;and so on&lt;BR /&gt;&lt;FONT size="4" color="#FF0000"&gt;i dont want the sum of value from jan to selected date&lt;/FONT&gt; but instead,&lt;BR /&gt;i want to display each month-year their sum value for each of the period,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;so here i selected march 2022,&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i want is to display from jan 2022 to march 2022 and it should show like this as if i selected jan 2022 until match 2022&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the second picture should be the expected result WITHOUT me having to select the dates,&lt;BR /&gt;i only want when i seelct a date, it shows me the values from first month of year to selcted date as explained above.&lt;BR /&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2023 19:53:23 GMT</pubDate>
    <dc:creator>eliasayyy</dc:creator>
    <dc:date>2023-02-08T19:53:23Z</dc:date>
    <item>
      <title>show me on chart data of all year-month from selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3067373#M106261</link>
      <description>&lt;P&gt;hello everyone,&amp;nbsp;&lt;BR /&gt;i have a bar chart which i want to show the values from the beginning of the year(of selected date) until selected date&lt;BR /&gt;so lets say i chose november 2022 on my slicer,&lt;BR /&gt;i want to show values from january 2022 until november 2022,&lt;BR /&gt;if i select may 2021, i want to display values on chart from january 2021 until may 2021&lt;BR /&gt;and so on&lt;BR /&gt;i dont want the sum of value from jan to selected date but instead,&lt;BR /&gt;i want to display each month-year their sum value,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;so here i selected march 2022,&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i want is to display from jan 2022 to march 2022 and it should show like this as if i selected jan 2022 until match 2022&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 23:53:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3067373#M106261</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-02-07T23:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: show me on chart data of all year-month from selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3067496#M106271</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434309" data-lia-user-login="eliasayyy" class="lia-mention lia-mention-user"&gt;eliasayyy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I have created a simple sample, please refer to my pbix file to see if it helps you.&lt;/P&gt;
&lt;P&gt;Create 2 columns.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;YEAR = 
      YEAR('Table 1'[date])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;MONTH = 
        MONTH('Table 1'[date])&lt;/LI-CODE&gt;
&lt;P&gt;Then create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measur =
VAR _MAXdate =
    MAXX ( ALLSELECTED ( 'Table 1'[date] ), 'Table 1'[date] )
VAR _mindate =
    MINX ( ALLSELECTED ( 'Table 1'[date] ), 'Table 1'[date] )
RETURN
    CALCULATE (
        SUM ( 'Table 1'[value] ),
        FILTER (
            ALL ( 'Table 1' ),
            'Table 1'[YEAR] = SELECTEDVALUE ( 'Table 1'[YEAR] )
                &amp;amp;&amp;amp; 'Table 1'[MONTH] = SELECTEDVALUE ( 'Table 1'[MONTH] )
        )
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ Polly&lt;/P&gt;
&lt;P&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>Wed, 08 Feb 2023 01:30:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3067496#M106271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-08T01:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: show me on chart data of all year-month from selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3068937#M106397</link>
      <description>&lt;P&gt;hello&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;, i appreciate your reply but i think you got me wrong,&lt;BR /&gt;what i want it for my bar chart to show me, if in case i select march 2022 , all dates from january 2022 to march 2022,&lt;BR /&gt;if i select december 2021, i want to show all values from january 2021 to december 2021&lt;BR /&gt;if i selected february 2023, i want to show all values from january 2023 to february 2023&lt;BR /&gt;&lt;BR /&gt;like i showed in my example above, when i selected march 2022, it only shows march 2022, what i want is AS IF i am selecting all dates from januray 2022 till march 2022, which means i DONT want to select all dates i want this result only from selecting march 2022&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 13:01:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3068937#M106397</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-02-08T13:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: show me on chart data of all year-month from selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070112#M106544</link>
      <description>&lt;P&gt;hello everyone,&amp;nbsp;&lt;BR /&gt;i have a bar chart which i want to show the values from the beginning of the year(of selected date) until selected date&lt;BR /&gt;so lets say i chose november 2022 on my slicer,&lt;BR /&gt;i want to show values from january 2022 until november 2022,&lt;BR /&gt;if i select may 2021, i want to display values on chart from january 2021 until may 2021&lt;BR /&gt;and so on&lt;BR /&gt;&lt;FONT size="4" color="#FF0000"&gt;i dont want the sum of value from jan to selected date&lt;/FONT&gt; but instead,&lt;BR /&gt;i want to display each month-year their sum value for each of the period,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;so here i selected march 2022,&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i want is to display from jan 2022 to march 2022 and it should show like this as if i selected jan 2022 until match 2022&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the second picture should be the expected result WITHOUT me having to select the dates,&lt;BR /&gt;i only want when i seelct a date, it shows me the values from first month of year to selcted date as explained above.&lt;BR /&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 19:53:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070112#M106544</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-02-08T19:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: show me on chart data of all year-month from selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070291#M106545</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434309" data-lia-user-login="eliasayyy" class="lia-mention lia-mention-user"&gt;eliasayyy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;not sure if this is feasible. you expects a dynamic axis. an axis is typically feeded with a dataset column, but a dataset column can't be calculated with slicer input.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 21:52:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070291#M106545</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-02-08T21:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: show me on chart data of all year-month from selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070292#M106546</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;,thank you for your reply is it possible to add another slicer and get what i want when i select a date from 1 slicer until the second slicer?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 21:40:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070292#M106546</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-02-08T21:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: show me on chart data of all year-month from selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070328#M106547</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434309" data-lia-user-login="eliasayyy" class="lia-mention lia-mention-user"&gt;eliasayyy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i think that is feasible. please give it a try.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 21:57:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070328#M106547</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-02-08T21:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: show me on chart data of all year-month from selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070396#M106548</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;i dont know how &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 22:39:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070396#M106548</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-02-08T22:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: show me on chart data of all year-month from selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070418#M106549</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434309" data-lia-user-login="eliasayyy" class="lia-mention lia-mention-user"&gt;eliasayyy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;plot the chart with Month column. Feed a slicer with the Date or Month column. Or?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 22:54:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070418#M106549</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-02-08T22:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: show me on chart data of all year-month from selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070586#M106541</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434309" data-lia-user-login="eliasayyy" class="lia-mention lia-mention-user"&gt;eliasayyy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please have a try.&lt;/P&gt;
&lt;P&gt;Create a calendar date table.Then put it into the slicer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table = CALENDAR(DATE(2022,1,1),DATE(2023,12,31))
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then change the measureS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = var _selectedvaluedate=MAXX(ALLSELECTED('Table'),'Table'[Date])
var _month=MONTH(_selectedvaluedate)
var _year=YEAR(_selectedvaluedate)
return 
IF(MAX('Table 1'[MONTH])&amp;lt;=_month&amp;amp;&amp;amp;MAX('Table 1'[YEAR])=_year,1,0)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Then filter the measure is 1.&lt;/P&gt;
&lt;P&gt;Then create another measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 2 = SUMX(FILTER(ALL('Table 1'),'Table 1'[MONTH]=SELECTEDVALUE('Table 1'[MONTH])&amp;amp;&amp;amp;'Table 1'[YEAR]=SELECTEDVALUE('Table 1'[YEAR])),'Table 1'[value])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ Polly&lt;/P&gt;
&lt;P&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, 09 Feb 2023 01:23:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/show-me-on-chart-data-of-all-year-month-from-selected-date/m-p/3070586#M106541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-09T01:23:45Z</dc:date>
    </item>
  </channel>
</rss>

