<?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: Seeking assistant and suggestion to create a monthly chart between two dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Seeking-assistant-and-suggestion-to-create-a-monthly-chart/m-p/3999065#M155700</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="118660" data-lia-user-login="rajendraongole1" class="lia-mention lia-mention-user"&gt;rajendraongole1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try your approach but the value return is bigger.&amp;nbsp; I would like to create a chart as below&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Actual Saving ($)&lt;/TD&gt;&lt;TD&gt;Month in Year&lt;/TD&gt;&lt;TD&gt;*Average in Saving&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;20,700&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;2,587.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;10,500&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;875&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Year 2022, starting May until Dec. The chart should shows value $2,587.5 and&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Year 2023, starting Jan until Dec. The chart should shows value $875.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and also when i create relationship between Table A and DateTable using Year, my chart only showing year up to 2022 only instead of full year which is my data have up to 2027.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2024 01:31:46 GMT</pubDate>
    <dc:creator>eryka_90</dc:creator>
    <dc:date>2024-06-19T01:31:46Z</dc:date>
    <item>
      <title>Seeking assistant and suggestion to create a monthly chart between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Seeking-assistant-and-suggestion-to-create-a-monthly-chart/m-p/3997596#M155569</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm stucked when to create a chart monthly saving and seeking expert guide or suggestion to proceed further. My sample data as below:&lt;/P&gt;&lt;P&gt;(*) is the measure in my Table A&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;ExecutionStartDatefortheProject&lt;/TD&gt;&lt;TD&gt;EstimatedValidatedDate&lt;/TD&gt;&lt;TD&gt;*FirstYearDefinition&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;*SecondYearDefinition&lt;/TD&gt;&lt;TD&gt;*YearDefinition&lt;/TD&gt;&lt;TD&gt;Actual Saving ($)&lt;/TD&gt;&lt;TD&gt;*MonthsInYear&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;2022-05-18&lt;/TD&gt;&lt;TD&gt;2023-12-31&lt;/TD&gt;&lt;TD&gt;2022&lt;/TD&gt;&lt;TD&gt;2023&lt;/TD&gt;&lt;TD&gt;ActualFirstYear&lt;/TD&gt;&lt;TD&gt;20,700&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;2022-05-18&lt;/TD&gt;&lt;TD&gt;2023-12-31&lt;/TD&gt;&lt;TD&gt;2022&lt;/TD&gt;&lt;TD&gt;2023&lt;/TD&gt;&lt;TD&gt;ActualSecondYear&lt;/TD&gt;&lt;TD&gt;10,500&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added new Date Table B refer to Min (ExecutionStartDatefortheProject) and Max (EstimatedValidatedDate).&amp;nbsp; I also create a column for Dynamic Year based on Year Definition in Table A then create relationship between Table A and B using Year. However, my chart only refer to the month of&amp;nbsp;ExecutionStartDatefortheProject, not the month between&amp;nbsp;ExecutionStartDatefortheProject and&amp;nbsp;EstimatedValidatedDate. My purpose is to showing monthly saving for each ID by devide the actual saving with month in year. Is that possible to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 06:43:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Seeking-assistant-and-suggestion-to-create-a-monthly-chart/m-p/3997596#M155569</guid>
      <dc:creator>eryka_90</dc:creator>
      <dc:date>2024-06-18T06:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking assistant and suggestion to create a monthly chart between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Seeking-assistant-and-suggestion-to-create-a-monthly-chart/m-p/3997763#M155570</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="674717" data-lia-user-login="eryka_90" class="lia-mention lia-mention-user"&gt;eryka_90&lt;/a&gt;&amp;nbsp;-I hope there is a relationship between Table A and DateTable on the Year column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;create a measure for monthly savings from actual saving and monts in year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MonthlySaving =&lt;BR /&gt;DIVIDE (&lt;BR /&gt;SUM ( 'TableA'[Actual Saving ($)] ),&lt;BR /&gt;SUM ( 'TableA'[MonthsInYear] )&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;call the above monthly saving in return statement if the distribution fails.&amp;nbsp;create a measure that distributes the savings across the months&lt;/P&gt;&lt;P&gt;TotalMonthlySaving =&lt;BR /&gt;VAR StartDate = MIN ( 'TableA'[ExecutionStartDatefortheProject] )&lt;BR /&gt;VAR EndDate = MAX ( 'TableA'[EstimatedValidatedDate] )&lt;BR /&gt;RETURN&lt;BR /&gt;SUMX (&lt;BR /&gt;FILTER (&lt;BR /&gt;DateTable,&lt;BR /&gt;DateTable[Date] &amp;gt;= StartDate &amp;amp;&amp;amp; DateTable[Date] &amp;lt;= EndDate&lt;BR /&gt;),&lt;BR /&gt;[MonthlySaving]&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;use the monthly saving measure in your table chart it shows the distribution across the months. try the above approac and let knw.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! This will help others on the forum!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 08:13:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Seeking-assistant-and-suggestion-to-create-a-monthly-chart/m-p/3997763#M155570</guid>
      <dc:creator>rajendraongole1</dc:creator>
      <dc:date>2024-06-18T08:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking assistant and suggestion to create a monthly chart between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Seeking-assistant-and-suggestion-to-create-a-monthly-chart/m-p/3999065#M155700</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="118660" data-lia-user-login="rajendraongole1" class="lia-mention lia-mention-user"&gt;rajendraongole1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try your approach but the value return is bigger.&amp;nbsp; I would like to create a chart as below&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Actual Saving ($)&lt;/TD&gt;&lt;TD&gt;Month in Year&lt;/TD&gt;&lt;TD&gt;*Average in Saving&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;20,700&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;2,587.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;10,500&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;875&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Year 2022, starting May until Dec. The chart should shows value $2,587.5 and&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Year 2023, starting Jan until Dec. The chart should shows value $875.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and also when i create relationship between Table A and DateTable using Year, my chart only showing year up to 2022 only instead of full year which is my data have up to 2027.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 01:31:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Seeking-assistant-and-suggestion-to-create-a-monthly-chart/m-p/3999065#M155700</guid>
      <dc:creator>eryka_90</dc:creator>
      <dc:date>2024-06-19T01:31:46Z</dc:date>
    </item>
  </channel>
</rss>

