<?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 with month over month change in bar graph in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-with-month-over-month-change-in-bar-graph/m-p/2980502#M99902</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="477180" data-lia-user-login="ladislaocsulak" class="lia-mention lia-mention-user"&gt;ladislaocsulak&lt;/a&gt; , if you do no have date create a date in you table in a new column and join that with date of date table and use time intelligence &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;date = datevalue([YearMonth]&amp;amp;"01")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Calendar = Addcolumns(calendar(date(2020,01,01), date(2021,12,31) ), "Month no" , month([date]) &lt;BR /&gt;, "Year", year([date])&lt;BR /&gt;, "Month Year", format([date],"mmm-yyyy") &lt;BR /&gt;, "Month year sort", year([date])*100 + month([date])&lt;BR /&gt;, "Qtr Year", format([date],"yyyy-\QQ") &lt;BR /&gt;, "Qtr", quarter([date]) &lt;BR /&gt;, "Month",FORMAT([Date],"mmmm")&lt;BR /&gt;, "Month sort", month([DAte])&lt;BR /&gt;, "Is Today" ,if([Date]=TODAY(),"Today",[Date]&amp;amp;"") &lt;BR /&gt;,"Day of Year" , datediff(date(year([DAte]),1,1), [Date], day)+1 &lt;BR /&gt;, "Month Type", Switch( True(),&lt;BR /&gt;eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,&lt;BR /&gt;eomonth([Date],0)= eomonth(Today(),0),"This Month" ,&lt;BR /&gt;Format([Date],"MMM-YYYY") )&lt;BR /&gt;,"Year Type" , Switch( True(),&lt;BR /&gt;year([Date])= year(Today()),"This Year" ,&lt;BR /&gt;year([Date])= year(Today())-1,"Last Year" ,&lt;BR /&gt;Format([Date],"YYYY")&lt;BR /&gt;) &lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then TI&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))&lt;BR /&gt;last MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))&lt;BR /&gt;last month Sales = CALCULATE(SUM(Sales[Sales Amount]),previousmonth('Date'[Date]))&lt;BR /&gt;MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))&lt;BR /&gt;last MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))&lt;BR /&gt;last month Sales = CALCULATE(SUM(Sales[Sales Amount]),previousmonth('Date'[Date]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period, &lt;BR /&gt;Custom Period till date: &lt;A href="https://youtu.be/aU2aKbnHuWs&amp;amp;t=145s" target="_blank"&gt;https://youtu.be/aU2aKbnHuWs&amp;amp;t=145s&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI — Month on Month with or Without Time Intelligence &lt;BR /&gt;&lt;A href="https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e" target="_blank"&gt;https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=6LUBbvcxtKA" target="_blank"&gt;https://www.youtube.com/watch?v=6LUBbvcxtKA&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Dec 2022 02:35:07 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-12-21T02:35:07Z</dc:date>
    <item>
      <title>Line with month over month change in bar graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-with-month-over-month-change-in-bar-graph/m-p/2980070#M99883</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to know if there’s any way to add a line with the change month-over-month in the quantity of sales in a bar graph.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I would need a line with those changes that I have written manually:&lt;/P&gt;&lt;P&gt;13/12 = 8%&lt;/P&gt;&lt;P&gt;25/13 = 92%&lt;/P&gt;&lt;P&gt;33/25 = 32%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I upload a Power Bi with a dummy source table and the bar graph mentioned:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://drive.google.com/drive/folders/1TOYezhAuiy0ADTNcKVL1ayNw5XoLMo_I?usp=share_link" target="_blank" rel="noopener"&gt;https://drive.google.com/drive/folders/1TOYezhAuiy0ADTNcKVL1ayNw5XoLMo_I?usp=share_link&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 21:11:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-with-month-over-month-change-in-bar-graph/m-p/2980070#M99883</guid>
      <dc:creator>ladislaocsulak</dc:creator>
      <dc:date>2022-12-20T21:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Line with month over month change in bar graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-with-month-over-month-change-in-bar-graph/m-p/2980502#M99902</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="477180" data-lia-user-login="ladislaocsulak" class="lia-mention lia-mention-user"&gt;ladislaocsulak&lt;/a&gt; , if you do no have date create a date in you table in a new column and join that with date of date table and use time intelligence &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;date = datevalue([YearMonth]&amp;amp;"01")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Calendar = Addcolumns(calendar(date(2020,01,01), date(2021,12,31) ), "Month no" , month([date]) &lt;BR /&gt;, "Year", year([date])&lt;BR /&gt;, "Month Year", format([date],"mmm-yyyy") &lt;BR /&gt;, "Month year sort", year([date])*100 + month([date])&lt;BR /&gt;, "Qtr Year", format([date],"yyyy-\QQ") &lt;BR /&gt;, "Qtr", quarter([date]) &lt;BR /&gt;, "Month",FORMAT([Date],"mmmm")&lt;BR /&gt;, "Month sort", month([DAte])&lt;BR /&gt;, "Is Today" ,if([Date]=TODAY(),"Today",[Date]&amp;amp;"") &lt;BR /&gt;,"Day of Year" , datediff(date(year([DAte]),1,1), [Date], day)+1 &lt;BR /&gt;, "Month Type", Switch( True(),&lt;BR /&gt;eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,&lt;BR /&gt;eomonth([Date],0)= eomonth(Today(),0),"This Month" ,&lt;BR /&gt;Format([Date],"MMM-YYYY") )&lt;BR /&gt;,"Year Type" , Switch( True(),&lt;BR /&gt;year([Date])= year(Today()),"This Year" ,&lt;BR /&gt;year([Date])= year(Today())-1,"Last Year" ,&lt;BR /&gt;Format([Date],"YYYY")&lt;BR /&gt;) &lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then TI&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))&lt;BR /&gt;last MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))&lt;BR /&gt;last month Sales = CALCULATE(SUM(Sales[Sales Amount]),previousmonth('Date'[Date]))&lt;BR /&gt;MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))&lt;BR /&gt;last MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))&lt;BR /&gt;last month Sales = CALCULATE(SUM(Sales[Sales Amount]),previousmonth('Date'[Date]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period, &lt;BR /&gt;Custom Period till date: &lt;A href="https://youtu.be/aU2aKbnHuWs&amp;amp;t=145s" target="_blank"&gt;https://youtu.be/aU2aKbnHuWs&amp;amp;t=145s&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI — Month on Month with or Without Time Intelligence &lt;BR /&gt;&lt;A href="https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e" target="_blank"&gt;https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=6LUBbvcxtKA" target="_blank"&gt;https://www.youtube.com/watch?v=6LUBbvcxtKA&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 02:35:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-with-month-over-month-change-in-bar-graph/m-p/2980502#M99902</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-12-21T02:35:07Z</dc:date>
    </item>
  </channel>
</rss>

