<?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 Stop Line Chart at end of previous quarter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stop-Line-Chart-at-end-of-previous-quarter/m-p/2025486#M45255</link>
    <description>&lt;P&gt;Hi All, Wondered if someone had some knowledge on the following use case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a bar over line chart that is in quarters and years - I want to stop the green line chart element at the end of the previous quarter to one we are currently in. Using the screenshot below - at the moment we are in Quarter 3 2021 - I would like the line chart to stop at Q2 2021 - and then going forward when we move into Q4 2021 I would like the line chart to stop at Q3 2021 and so on...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure if this is possible but any help/advice would be really appreciated.&lt;/P&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Aug 2021 08:29:25 GMT</pubDate>
    <dc:creator>senorbol</dc:creator>
    <dc:date>2021-08-19T08:29:25Z</dc:date>
    <item>
      <title>Stop Line Chart at end of previous quarter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stop-Line-Chart-at-end-of-previous-quarter/m-p/2025486#M45255</link>
      <description>&lt;P&gt;Hi All, Wondered if someone had some knowledge on the following use case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a bar over line chart that is in quarters and years - I want to stop the green line chart element at the end of the previous quarter to one we are currently in. Using the screenshot below - at the moment we are in Quarter 3 2021 - I would like the line chart to stop at Q2 2021 - and then going forward when we move into Q4 2021 I would like the line chart to stop at Q3 2021 and so on...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure if this is possible but any help/advice would be really appreciated.&lt;/P&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 08:29:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stop-Line-Chart-at-end-of-previous-quarter/m-p/2025486#M45255</guid>
      <dc:creator>senorbol</dc:creator>
      <dc:date>2021-08-19T08:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Stop Line Chart at end of previous quarter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stop-Line-Chart-at-end-of-previous-quarter/m-p/2026969#M45338</link>
      <description>&lt;P&gt;Do you use a column to feed the line , or a measure?&amp;nbsp; You would want to use a measure, and set the return value to BLANK() for the periods where you don't want the line to draw.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 22:55:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stop-Line-Chart-at-end-of-previous-quarter/m-p/2026969#M45338</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-08-19T22:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Stop Line Chart at end of previous quarter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stop-Line-Chart-at-end-of-previous-quarter/m-p/2027735#M45380</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;- thanks so much for the reply. I use a measure at the moment to draw the line. I'm using the following calculation - any tips on how I can amend this to get the desired result?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cumulative Actual Calc&amp;nbsp; = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF( MINX( 'M Calendar', [Date]) &amp;lt;= TODAY(),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(SUM('Master Data 2'[Actual_Final_Decom]) + SUM('Master Data 2'[Actual_Final_Migration]) , &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER( ALLSELECTED ('M Calendar'), 'M Calendar'[Date] &amp;lt;= MAX('M Calendar'[Date])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 Aug 2021 07:47:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stop-Line-Chart-at-end-of-previous-quarter/m-p/2027735#M45380</guid>
      <dc:creator>senorbol</dc:creator>
      <dc:date>2021-08-20T07:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Stop Line Chart at end of previous quarter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stop-Line-Chart-at-end-of-previous-quarter/m-p/2028202#M45394</link>
      <description>&lt;P&gt;I would write it differently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cumulative Actual Calc  =
IF( MIN('M Calendar'[Date]) &amp;lt;= TODAY(),
CALCULATE(SUM('Master Data 2'[Actual_Final_Decom]) + SUM('Master Data 2'[Actual_Final_Migration]) ,BLANK())&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 20 Aug 2021 13:39:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stop-Line-Chart-at-end-of-previous-quarter/m-p/2028202#M45394</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-08-20T13:39:12Z</dc:date>
    </item>
  </channel>
</rss>

