<?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 Comparing Snapshots to categorize Customers in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Snapshots-to-categorize-Customers/m-p/2695611#M81317</link>
    <description>&lt;P&gt;I have data that gets loaded monthly. Each month is a snapshot of all active customers. My goal is to compare the most recent snapshot to the same period last year so I can categorize customers. Here is a sample of a scaled down dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to calculate a table that categorizes each customer and then used measures to count each category. The issue is that this approach is not dynamic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pbix file attached has my attempt to make the table dynamic. My [YoY Cust Categories] is essentially my calculated table in measure form. I don’t think this approach will work. It is very slow and when I use it in my scaled-up data set I get a memory error.&lt;/P&gt;&lt;P&gt;Any other approach will greatly appreciate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1ZbipUeq7psvY9m0_wk55Az7BVWOKp9TU/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1ZbipUeq7psvY9m0_wk55Az7BVWOKp9TU/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;PBIX:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1Xpei1D6KqRALHcFGKKDWNVj_xJFCdE_X/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1Xpei1D6KqRALHcFGKKDWNVj_xJFCdE_X/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 14:58:05 GMT</pubDate>
    <dc:creator>nbs333</dc:creator>
    <dc:date>2022-08-11T14:58:05Z</dc:date>
    <item>
      <title>Comparing Snapshots to categorize Customers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Snapshots-to-categorize-Customers/m-p/2695611#M81317</link>
      <description>&lt;P&gt;I have data that gets loaded monthly. Each month is a snapshot of all active customers. My goal is to compare the most recent snapshot to the same period last year so I can categorize customers. Here is a sample of a scaled down dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to calculate a table that categorizes each customer and then used measures to count each category. The issue is that this approach is not dynamic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pbix file attached has my attempt to make the table dynamic. My [YoY Cust Categories] is essentially my calculated table in measure form. I don’t think this approach will work. It is very slow and when I use it in my scaled-up data set I get a memory error.&lt;/P&gt;&lt;P&gt;Any other approach will greatly appreciate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1ZbipUeq7psvY9m0_wk55Az7BVWOKp9TU/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1ZbipUeq7psvY9m0_wk55Az7BVWOKp9TU/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;PBIX:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1Xpei1D6KqRALHcFGKKDWNVj_xJFCdE_X/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1Xpei1D6KqRALHcFGKKDWNVj_xJFCdE_X/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 14:58:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Snapshots-to-categorize-Customers/m-p/2695611#M81317</guid>
      <dc:creator>nbs333</dc:creator>
      <dc:date>2022-08-11T14:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing Snapshots to categorize Customers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Snapshots-to-categorize-Customers/m-p/2697429#M81471</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="333472" data-lia-user-login="nbs333" class="lia-mention lia-mention-user"&gt;nbs333&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's how to perform such an analysis properly:&amp;nbsp;&lt;A href="https://www.sqlbi.com/blog/marco/2014/06/26/calculate-new-returning-lost-and-recovered-customers-in-dax/" target="_blank"&gt;Calculate New, Returning, Lost, and Recovered Customers in #dax - SQLBI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 13:03:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Snapshots-to-categorize-Customers/m-p/2697429#M81471</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-08-12T13:03:18Z</dc:date>
    </item>
  </channel>
</rss>

