<?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: Unique Customer 4 Week Average in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unique-Customer-4-Week-Average/m-p/3326229#M124555</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?&lt;/P&gt;
&lt;P&gt;Thanks for your efforts &amp;amp; time in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team_Binbin Yu&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2023 01:24:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-07-12T01:24:40Z</dc:date>
    <item>
      <title>Unique Customer 4 Week Average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unique-Customer-4-Week-Average/m-p/3323643#M124444</link>
      <description>&lt;P&gt;DAX help needed.. I am trying to calculate a a 4 week average for unique visitors.. using the 4 weeks prior to the maximum selected YearWeek.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;In Above selection, it should count uniques for week 36 to week 39 and then divide by 4. However, need a unique count for each week then divide by 4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX I tried:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Week Rank = &lt;/SPAN&gt;&lt;SPAN&gt;RANKX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DimDate&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;DimDate&lt;/SPAN&gt;&lt;SPAN&gt;[Rep_Week]&lt;/SPAN&gt;&lt;SPAN&gt;,, &lt;/SPAN&gt;&lt;SPAN&gt;ASC&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Dense&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;//YYYYWW&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CALCULATE(&lt;BR /&gt;AVERAGEX(VALUES(DimDate[Rep_Week]),&lt;BR /&gt;CALCULATE(DISTINCTCOUNT(Fact_KPI_Visits[MembershipNumber]),&lt;BR /&gt;FILTER(ALL(DimDate), DimDate[Week Rank]&amp;gt;= MAX(DimDate[Week Rank])-5 &amp;amp;&amp;amp; DimDate[Week Rank]&amp;lt;= MAX(DimDate[Week Rank])-1 )&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help greatly appreciated&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 16:32:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unique-Customer-4-Week-Average/m-p/3323643#M124444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-10T16:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unique Customer 4 Week Average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unique-Customer-4-Week-Average/m-p/3324884#M124494</link>
      <description>&lt;P&gt;bump&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 09:40:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unique-Customer-4-Week-Average/m-p/3324884#M124494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-11T09:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unique Customer 4 Week Average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unique-Customer-4-Week-Average/m-p/3326229#M124555</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?&lt;/P&gt;
&lt;P&gt;Thanks for your efforts &amp;amp; time in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team_Binbin Yu&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 01:24:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unique-Customer-4-Week-Average/m-p/3326229#M124555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-12T01:24:40Z</dc:date>
    </item>
  </channel>
</rss>

