<?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: PowerBI Visual with slicer - Averages in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/PowerBI-Visual-with-slicer-Averages/m-p/2840812#M5967</link>
    <description>&lt;P&gt;Please provide sanitized sample data that fully covers your issue. &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Oct 2022 00:04:41 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2022-10-14T00:04:41Z</dc:date>
    <item>
      <title>PowerBI Visual with slicer - Averages</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/PowerBI-Visual-with-slicer-Averages/m-p/2830786#M5866</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure how to approach this problem. I have two tables, a Date table and a Data Table, both are at the end of the question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a visualisation with options for:&lt;BR /&gt;1. A Date Slicer Start Date (DD/MM/YYYY) - End Date (DD/MM/YYYY)&lt;BR /&gt;2. Calculated Value1 - Average of the weekly average weight per carton (7 day) average over date Slicer time period&lt;BR /&gt;3. Calculated Value2 - Average of weight per carton over the entire Slicer time period&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Formula from Excel:&lt;BR /&gt;1. SUM of Weight = (PACK WGHT + JCE WGHT1)&lt;BR /&gt;2. Average Carton Weight = SUM of Weight/CARTON QTY&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Example 1:&lt;BR /&gt;Date Splicer - 01/10/2022 - 10/10/2022 (10 days)&lt;BR /&gt;Two values:&lt;BR /&gt;1.&amp;nbsp; Average of Weekly Average Weight per Carton of 1 week (7 days from 3/10 - 10/10/2022)&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;10 day Average of Weight per Carton&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example 2:&lt;BR /&gt;Date Splicer 07/08/2022 - 10/10/2022 (64 days)&lt;BR /&gt;1. Carton Weight Average of last 9 weeks (truncate from 9 weeks 1 day) average weight ((average of every 7 days from 08/08 to 10/10/2022)/9 weeks)&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;64 day Average of Weight per Carton&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The Date and Data tables are below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Data Table" style="width: 646px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/801149iF5F8CC14DE34BE96/image-size/large?v=v2&amp;amp;px=999" role="button" title="ZBHT6" alt="Data Table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Data Table&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Date Table" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/801150iAC77BA5047E6E868/image-size/large?v=v2&amp;amp;px=999" role="button" title="m8tdN" alt="Date Table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Date Table&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 11:49:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/PowerBI-Visual-with-slicer-Averages/m-p/2830786#M5866</guid>
      <dc:creator>mangoman</dc:creator>
      <dc:date>2022-10-10T11:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Visual with slicer - Averages</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/PowerBI-Visual-with-slicer-Averages/m-p/2840812#M5967</link>
      <description>&lt;P&gt;Please provide sanitized sample data that fully covers your issue. &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 00:04:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/PowerBI-Visual-with-slicer-Averages/m-p/2840812#M5967</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-10-14T00:04:41Z</dc:date>
    </item>
  </channel>
</rss>

