<?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: DAX - Measure for customers who never bought, but started buying in the last 2 months in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2452571#M66071</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="356338" data-lia-user-login="Diego_Vialle" class="lia-mention lia-mention-user"&gt;Diego_Vialle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But are getting correct values?&lt;/P&gt;&lt;P&gt;you can force the fiter in the filter pane for the previous measure set as "is not blank". Also try to iterate over the table but modt probably you will get wrong results but worth try then we can modify incuding all coulmns in the visual with iteration table&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;NET Value | NF =
VAR AllOldCustomers =
    CALCULATETABLE (
        VALUES ( SBOPRODMS[Customer] ),
        SBOPRODMS[invoice date]
            &amp;lt; TODAY () - 60,
        SBOPRODMS[document] = "outgoing invoice"
    )
VAR AllNewCustomers =
    CALCULATETABLE (
        VALUES ( SBOPRODMS[Customer] ),
        SBOPRODMS[invoice date]
            &amp;gt;= TODAY () - 60,
        SBOPRODMS[document] = "outgoing invoice"
    )
RETURN
    SUMX ( EXCEPT ( AllNewCustomers, AllOldCustomers ), [NET Value]  )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2022 13:13:29 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-04-12T13:13:29Z</dc:date>
    <item>
      <title>DAX - Measure for customers who never bought, but started buying in the last 2 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2436586#M65050</link>
      <description>&lt;P&gt;Good afternoon, I need some help. I need to create an invoice count measure for customers who have never purchased and have purchased in the last two months.&amp;nbsp;I have the two measurements below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bimonthly order frequency = CALCULATE(DISTINCTCOUNT(SBOPRODMS[Customer]),and(SBOPRODMS[invoice date]&amp;gt;=TODAY()-60,SBOPRODMS[document]="outgoing invoice"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total customers = CALCULATE(DISTINCTCOUNT(SBOPRODMS[Customer]),and(SBOPRODMS[invoice date]&amp;gt;=TODAY()-365,SBOPRODMS[document]="outgoing invoice"))&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 20:18:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2436586#M65050</guid>
      <dc:creator>Diego_Vialle</dc:creator>
      <dc:date>2022-04-04T20:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Measure for customers who never bought, but started buying in the last 2 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2436620#M65055</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="356338" data-lia-user-login="Diego_Vialle" class="lia-mention lia-mention-user"&gt;Diego_Vialle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may try&lt;/P&gt;&lt;LI-CODE lang="php"&gt;New Customers =
VAR AllOldCustomers =
    CALCULATETABLE (
        VALUES ( SBOPRODMS[Customer] ),
        SBOPRODMS[invoice date]
            &amp;lt; TODAY () - 60,
        SBOPRODMS[document] = "outgoing invoice"
    )
VAR AllNewCustomers =
    CALCULATETABLE (
        VALUES ( SBOPRODMS[Customer] ),
        AND (
            SBOPRODMS[invoice date]
                &amp;gt;= TODAY () - 60,
            SBOPRODMS[document] = "outgoing invoice"
        )
    )
RETURN
    COUNTROWS ( EXCEPT ( AllNewCustomers, AllOldCustomers ) )&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 04 Apr 2022 21:05:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2436620#M65055</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-04T21:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Measure for customers who never bought, but started buying in the last 2 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2450429#M65921</link>
      <description>&lt;P&gt;Thank you very much friend, the formula worked correctly. They have now requested the invoice value of each customer, the measure for invoice is: NET Value | NF = CALCULATE([NET Value],SBOPRODMS[Document]="Outgoing invoice"). How do I implement this data in the bimonthly customers formula??&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 19:16:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2450429#M65921</guid>
      <dc:creator>Diego_Vialle</dc:creator>
      <dc:date>2022-04-11T19:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Measure for customers who never bought, but started buying in the last 2 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2450452#M65924</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="356338" data-lia-user-login="Diego_Vialle" class="lia-mention lia-mention-user"&gt;Diego_Vialle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you trying to calculate the net value of the customers we have calculated in the previous measure? If so you may try&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;NET Value | NF =
VAR AllOldCustomers =
    CALCULATETABLE (
        VALUES ( SBOPRODMS[Customer] ),
        SBOPRODMS[invoice date]
            &amp;lt; TODAY () - 60,
        SBOPRODMS[document] = "outgoing invoice"
    )
VAR AllNewCustomers =
    CALCULATETABLE (
        VALUES ( SBOPRODMS[Customer] ),
        SBOPRODMS[invoice date]
            &amp;gt;= TODAY () - 60,
        SBOPRODMS[document] = "outgoing invoice"
    )
RETURN
    CALCULATE ( [NET Value], EXCEPT ( AllNewCustomers, AllOldCustomers ) )&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 11 Apr 2022 19:46:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2450452#M65924</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-11T19:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Measure for customers who never bought, but started buying in the last 2 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2450510#M65929</link>
      <description>&lt;P&gt;Exactly, but when I insert the measure as a matrix column, it brings customers outside of what we calculated in the previous measure. The columns are in Portuguese but I believe you understand based on the formula.&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 20:20:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2450510#M65929</guid>
      <dc:creator>Diego_Vialle</dc:creator>
      <dc:date>2022-04-11T20:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Measure for customers who never bought, but started buying in the last 2 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2450567#M65935</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="356338" data-lia-user-login="Diego_Vialle" class="lia-mention lia-mention-user"&gt;Diego_Vialle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is not correct&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 21:02:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2450567#M65935</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-11T21:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Measure for customers who never bought, but started buying in the last 2 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2452326#M66050</link>
      <description>&lt;P&gt;I used your previous suggestion.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 11:45:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2452326#M66050</guid>
      <dc:creator>Diego_Vialle</dc:creator>
      <dc:date>2022-04-12T11:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Measure for customers who never bought, but started buying in the last 2 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2452337#M66052</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="356338" data-lia-user-login="Diego_Vialle" class="lia-mention lia-mention-user"&gt;Diego_Vialle&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You are referencing a table! In my measure I am referencing another measure [Net Value]. I am using CALCULATE you are using COUNTROWS!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 11:51:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2452337#M66052</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-12T11:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Measure for customers who never bought, but started buying in the last 2 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2452356#M66053</link>
      <description>&lt;P&gt;Because it is requesting a table and not measure...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 11:56:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2452356#M66053</guid>
      <dc:creator>Diego_Vialle</dc:creator>
      <dc:date>2022-04-12T11:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Measure for customers who never bought, but started buying in the last 2 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2452388#M66054</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="356338" data-lia-user-login="Diego_Vialle" class="lia-mention lia-mention-user"&gt;Diego_Vialle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is CLACULATE not COUNTROWS&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 12:10:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2452388#M66054</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-12T12:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Measure for customers who never bought, but started buying in the last 2 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2452489#M66065</link>
      <description>&lt;P&gt;Oh sorry, I hadn't seen Calculate. I changed it to Calculate and entered the invoice measure. However, it brings up all the clients, ignoring the previous calculation that we made only for the bimonthly clients.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 12:48:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2452489#M66065</guid>
      <dc:creator>Diego_Vialle</dc:creator>
      <dc:date>2022-04-12T12:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Measure for customers who never bought, but started buying in the last 2 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2452571#M66071</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="356338" data-lia-user-login="Diego_Vialle" class="lia-mention lia-mention-user"&gt;Diego_Vialle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But are getting correct values?&lt;/P&gt;&lt;P&gt;you can force the fiter in the filter pane for the previous measure set as "is not blank". Also try to iterate over the table but modt probably you will get wrong results but worth try then we can modify incuding all coulmns in the visual with iteration table&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;NET Value | NF =
VAR AllOldCustomers =
    CALCULATETABLE (
        VALUES ( SBOPRODMS[Customer] ),
        SBOPRODMS[invoice date]
            &amp;lt; TODAY () - 60,
        SBOPRODMS[document] = "outgoing invoice"
    )
VAR AllNewCustomers =
    CALCULATETABLE (
        VALUES ( SBOPRODMS[Customer] ),
        SBOPRODMS[invoice date]
            &amp;gt;= TODAY () - 60,
        SBOPRODMS[document] = "outgoing invoice"
    )
RETURN
    SUMX ( EXCEPT ( AllNewCustomers, AllOldCustomers ), [NET Value]  )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 13:13:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2452571#M66071</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-12T13:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Measure for customers who never bought, but started buying in the last 2 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2453230#M66106</link>
      <description>&lt;P&gt;The New Bimonthly Customers column does not need to add the values, it is enough to bring the invoice value of each bimonthly customer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 18:14:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-for-customers-who-never-bought-but-started-buying-in/m-p/2453230#M66106</guid>
      <dc:creator>Diego_Vialle</dc:creator>
      <dc:date>2022-04-12T18:14:07Z</dc:date>
    </item>
  </channel>
</rss>

