<?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: Line graph show first date of the month till last date of the month by filter in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Line-graph-show-first-date-of-the-month-till-last-date-of-the/m-p/2383779#M856422</link>
    <description>&lt;P&gt;Hello, I did the same steps, I created two tables : &lt;STRONG&gt;table 1&lt;/STRONG&gt; (with the columns: date, sales, month and year) and table &lt;STRONG&gt;date&lt;/STRONG&gt;.&lt;BR /&gt;I used the measure that you put, but it shows me a&amp;nbsp;&lt;SPAN&gt;a single date filter/slicer'&amp;nbsp;a single value in the graph'&amp;nbsp;like above !! Thanks for your help&lt;/SPAN&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>Wed, 09 Mar 2022 16:34:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-09T16:34:16Z</dc:date>
    <item>
      <title>Line graph show first date of the month till last date of the month by filter</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Line-graph-show-first-date-of-the-month-till-last-date-of-the/m-p/293522#M129445</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question.&lt;/P&gt;&lt;P&gt;Suppose that i have a single date filter/slicer, and i have a line graph like above.&lt;/P&gt;&lt;P&gt;So if i choose 1-October-2017 on the filter, then the line graph will show data from Date 1-Oct-2017 till 31-Oct-2017.&lt;/P&gt;&lt;P&gt;Or if i choose 1-December-2016 on the filter, then the line graph will show data from Date 1-Dec-2016 till 31-Dec-2016.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i do that in power BI? should i manage the table relationship? or is there any other trick to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 12:35:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Line-graph-show-first-date-of-the-month-till-last-date-of-the/m-p/293522#M129445</guid>
      <dc:creator>deckamaha</dc:creator>
      <dc:date>2017-10-31T12:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Line graph show first date of the month till last date of the month by filter</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Line-graph-show-first-date-of-the-month-till-last-date-of-the/m-p/294014#M129666</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="43622" data-lia-user-login="deckamaha" class="lia-mention lia-mention-user"&gt;deckamaha&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I try to reproduce your scenario using the sample table below.&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;First, you&amp;nbsp;need to create a new date table only have the date column using the formula by click "New Table" under Modeling on home page.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;Date = SELECTCOLUMNS(Table1,"Date",Table1[Date])&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;Then create a measure using the formula.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;Measure =
CALCULATE (
    MAX ( Table1[sale] ),
    FILTER ( Table1, Table1[Month] = MONTH ( SELECTEDVALUE ( 'Date'[Date] ) ) )
)
&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Finally, create a slicer including 'Date'[Date], a line chart including [Date] and measure. When you select&amp;nbsp;1-October-2017 on the slicer, the line graph will show data from Date 1-Oct-2017 till 31-Oct-2017 as follows.&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;Please respond to me if you have any other problems.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Angelia&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 06:11:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Line-graph-show-first-date-of-the-month-till-last-date-of-the/m-p/294014#M129666</guid>
      <dc:creator>v-huizhn-msft</dc:creator>
      <dc:date>2017-11-01T06:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Line graph show first date of the month till last date of the month by filter</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Line-graph-show-first-date-of-the-month-till-last-date-of-the/m-p/2383779#M856422</link>
      <description>&lt;P&gt;Hello, I did the same steps, I created two tables : &lt;STRONG&gt;table 1&lt;/STRONG&gt; (with the columns: date, sales, month and year) and table &lt;STRONG&gt;date&lt;/STRONG&gt;.&lt;BR /&gt;I used the measure that you put, but it shows me a&amp;nbsp;&lt;SPAN&gt;a single date filter/slicer'&amp;nbsp;a single value in the graph'&amp;nbsp;like above !! Thanks for your help&lt;/SPAN&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>Wed, 09 Mar 2022 16:34:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Line-graph-show-first-date-of-the-month-till-last-date-of-the/m-p/2383779#M856422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-09T16:34:16Z</dc:date>
    </item>
  </channel>
</rss>

