<?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: Create a  chart to show Jan - December and selected month in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Create-a-chart-to-show-Jan-December-and-selected-month/m-p/2630784#M37283</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/390490"&gt;@Rajsheisan&lt;/a&gt;&amp;nbsp;,You can refer the following links to get the culmulative values base on the selected months...&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Cumulative-total-based-on-the-selected-month/m-p/884015" target="_self"&gt;&lt;SPAN&gt;Cumulative total based on the selected month&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;First of all, we can create a spreated calculated table as the slicer,&amp;nbsp;&lt;/P&gt;
&lt;PRE class=""&gt;&lt;CODE&gt;SlicerTable = DISTINCT('Table'[Month])&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then we can use a measure in visual filter to meet your requirement:&lt;/P&gt;
&lt;PRE class=""&gt;&lt;CODE&gt;Cumulative Size = CALCULATE(SUM('Table'[Size]), FILTER(ALLSELECTED('Table'),[Month]&amp;lt;=SELECTEDVALUE('Table'[Month])))&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;CODE&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_0-1657537263072.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/746166i1F4D6C0DC5820B73/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_0-1657537263072.jpeg" alt="yingyinr_0-1657537263072.jpeg" /&gt;&lt;/span&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/computing-running-totals-in-dax/" target="_self"&gt;Computing running totals in DAX&lt;/A&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;RT Sales Customer Class :=
VAR CurrentCustomerClass = SELECTEDVALUE ( Customer[Customer Class Number] )
RETURN
    CALCULATE (
        [Sales Amount],
        Customer[Customer Class Number] &amp;lt;= CurrentCustomerClass,
        ALL ( Customer[Customer Class] )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;A href="https://exceleratorbi.com.au/cumulative-running-total-based-on-highest-value/" target="_self"&gt;Cumulative Running Total Based on Highest Value&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If the above one can't help you get the desired result, please provide some&amp;nbsp;&lt;STRONG&gt;sample data&lt;/STRONG&gt;&amp;nbsp;in your tables (&lt;STRONG&gt;&lt;EM&gt;exclude&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;sensitive&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;data&lt;/EM&gt;&lt;/STRONG&gt;) with&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;format and your&amp;nbsp;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&amp;nbsp;with backend logic and special examples.&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;if you can share a&amp;nbsp;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;pbix file. You can refer the following link to upload the file to the community. Thank you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FDesktop%2FHow-to-upload-PBI-in-Community%2Fm-p%2F1672886&amp;amp;data=04%7C01%7Cv-yiruan%40microsoft.com%7C4f580813734d4a8355b008da16f6e91a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637847547341062885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=YJvujige2YITXKbKED9JieQm5LBdf%2F3IYPM4ggdiijQ%3D&amp;amp;reserved=0" target="_blank"&gt;How to upload PBI in Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jul 2022 11:11:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-07-11T11:11:32Z</dc:date>
    <item>
      <title>Create a  chart to show Jan - December and selected month</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-a-chart-to-show-Jan-December-and-selected-month/m-p/2626384#M37238</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would anyone help me create a chart&amp;nbsp; to show yearly data from Jan - Dec and another line to show the selected month data. if two months get selected then the line should increase up to correct month selected. Currently, the selected month is shown as a small circle.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/744909i3444116E20692D6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 00:54:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-a-chart-to-show-Jan-December-and-selected-month/m-p/2626384#M37238</guid>
      <dc:creator>Rajsheisan</dc:creator>
      <dc:date>2022-07-08T00:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create a  chart to show Jan - December and selected month</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-a-chart-to-show-Jan-December-and-selected-month/m-p/2630784#M37283</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/390490"&gt;@Rajsheisan&lt;/a&gt;&amp;nbsp;,You can refer the following links to get the culmulative values base on the selected months...&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Cumulative-total-based-on-the-selected-month/m-p/884015" target="_self"&gt;&lt;SPAN&gt;Cumulative total based on the selected month&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;First of all, we can create a spreated calculated table as the slicer,&amp;nbsp;&lt;/P&gt;
&lt;PRE class=""&gt;&lt;CODE&gt;SlicerTable = DISTINCT('Table'[Month])&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then we can use a measure in visual filter to meet your requirement:&lt;/P&gt;
&lt;PRE class=""&gt;&lt;CODE&gt;Cumulative Size = CALCULATE(SUM('Table'[Size]), FILTER(ALLSELECTED('Table'),[Month]&amp;lt;=SELECTEDVALUE('Table'[Month])))&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;CODE&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_0-1657537263072.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/746166i1F4D6C0DC5820B73/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_0-1657537263072.jpeg" alt="yingyinr_0-1657537263072.jpeg" /&gt;&lt;/span&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/computing-running-totals-in-dax/" target="_self"&gt;Computing running totals in DAX&lt;/A&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;RT Sales Customer Class :=
VAR CurrentCustomerClass = SELECTEDVALUE ( Customer[Customer Class Number] )
RETURN
    CALCULATE (
        [Sales Amount],
        Customer[Customer Class Number] &amp;lt;= CurrentCustomerClass,
        ALL ( Customer[Customer Class] )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;A href="https://exceleratorbi.com.au/cumulative-running-total-based-on-highest-value/" target="_self"&gt;Cumulative Running Total Based on Highest Value&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If the above one can't help you get the desired result, please provide some&amp;nbsp;&lt;STRONG&gt;sample data&lt;/STRONG&gt;&amp;nbsp;in your tables (&lt;STRONG&gt;&lt;EM&gt;exclude&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;sensitive&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;data&lt;/EM&gt;&lt;/STRONG&gt;) with&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;format and your&amp;nbsp;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&amp;nbsp;with backend logic and special examples.&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;if you can share a&amp;nbsp;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;pbix file. You can refer the following link to upload the file to the community. Thank you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FDesktop%2FHow-to-upload-PBI-in-Community%2Fm-p%2F1672886&amp;amp;data=04%7C01%7Cv-yiruan%40microsoft.com%7C4f580813734d4a8355b008da16f6e91a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637847547341062885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=YJvujige2YITXKbKED9JieQm5LBdf%2F3IYPM4ggdiijQ%3D&amp;amp;reserved=0" target="_blank"&gt;How to upload PBI in Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 11:11:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-a-chart-to-show-Jan-December-and-selected-month/m-p/2630784#M37283</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-11T11:11:32Z</dc:date>
    </item>
  </channel>
</rss>

