<?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 Line graph interaction with page filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-graph-interaction-with-page-filter/m-p/2824532#M89767</link>
    <description>&lt;P&gt;Still learning here...&lt;/P&gt;&lt;P&gt;I have a line graph that shows for the current year and my page will have a month/year filter.&amp;nbsp; Currently, when I choose a month, my graph shows that one dot for the month.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I can turn off interactions, but is it possible to make the graph show the line up to the date selected?&amp;nbsp; So if Aug 2022 was chosen, I would see the line up until Aug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Oct 2022 05:09:20 GMT</pubDate>
    <dc:creator>atowriss1</dc:creator>
    <dc:date>2022-10-07T05:09:20Z</dc:date>
    <item>
      <title>Line graph interaction with page filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-graph-interaction-with-page-filter/m-p/2824532#M89767</link>
      <description>&lt;P&gt;Still learning here...&lt;/P&gt;&lt;P&gt;I have a line graph that shows for the current year and my page will have a month/year filter.&amp;nbsp; Currently, when I choose a month, my graph shows that one dot for the month.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I can turn off interactions, but is it possible to make the graph show the line up to the date selected?&amp;nbsp; So if Aug 2022 was chosen, I would see the line up until Aug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 05:09:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-graph-interaction-with-page-filter/m-p/2824532#M89767</guid>
      <dc:creator>atowriss1</dc:creator>
      <dc:date>2022-10-07T05:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Line graph interaction with page filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-graph-interaction-with-page-filter/m-p/2825129#M89805</link>
      <description>&lt;P&gt;You could create a disconnected table to use in your slicer, you can copy the appropriate columns from your Date table using SELECTCOLUMNS. You will need the month number column as well as the month name.&lt;/P&gt;
&lt;P&gt;You can then either amend your existing measure or write a new one just for this purpose, something like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Filtered measure = CALCULATE( [Existing Measure], 'Date'[Year] = SELECTEDVALUE('Slicer table'[Year]), 'Date'[Month number] &amp;lt;= SELECTEDVALUE( 'Slicer table'[Month number]) )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 07 Oct 2022 08:56:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-graph-interaction-with-page-filter/m-p/2825129#M89805</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-10-07T08:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Line graph interaction with page filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-graph-interaction-with-page-filter/m-p/2829788#M90101</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="449634" data-lia-user-login="atowriss1" class="lia-mention lia-mention-user"&gt;atowriss1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps you can refer to :&lt;/P&gt;
&lt;P&gt;(1)This is my test data :&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(2)We can create a calendar table, we don't need to create relationships between two tables:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Calendar = ADDCOLUMNS( 
CALENDAR(FIRSTDATE('Table'[Date]),LASTDATE('Table'[Date])),
"year_month", year([Date]) * 100 + MONTH([Date])
)

&lt;/LI-CODE&gt;
&lt;P&gt;(3)We can create a measure :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Value = var _slice = MAX('Calendar'[Date])
var _current= MAX('Table'[Date])
return 
IF(_current&amp;lt;= _slice , SUM('Table'[Value]) , BLANK() )&lt;/LI-CODE&gt;
&lt;P&gt;(4)Then we can put the filed we need&amp;nbsp; in the visual and then we can meet your need:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 02:46:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-graph-interaction-with-page-filter/m-p/2829788#M90101</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2022-10-10T02:46:07Z</dc:date>
    </item>
  </channel>
</rss>

