<?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: Clientes inativos in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Clientes-inativos/m-p/2376555#M61242</link>
    <description>&lt;P&gt;fiz a seguinte adaptação :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Rolling 6 = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Count_mov_cliente]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;DATESBETWEEN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'d calendar'[DATA]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;TODAY&lt;/SPAN&gt;&lt;SPAN&gt;()-&lt;/SPAN&gt;&lt;SPAN&gt;30&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;TODAY&lt;/SPAN&gt;&lt;SPAN&gt;()))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 05 Mar 2022 19:32:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-05T19:32:25Z</dc:date>
    <item>
      <title>Clientes inativos</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Clientes-inativos/m-p/2374684#M61091</link>
      <description>&lt;P&gt;Olá, eu tenho uma tabela de movimento dos clientes que tem as seguintes colunas:&lt;/P&gt;&lt;P&gt;id_cliente&lt;/P&gt;&lt;P&gt;[count_mov_cliente] --- (dax formula)&lt;/P&gt;&lt;P&gt;id_calendario&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E tenho uma tabela para o calendario e outra para os clientes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Quero calcular os clientes sem movimentos em 6 ou mais meses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A tabela de calendario tem datas até 2030.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Por favor ajuda.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 09:36:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Clientes-inativos/m-p/2374684#M61091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-04T09:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Clientes inativos</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Clientes-inativos/m-p/2375562#M61157</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , first have 6 month rolling measure &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rolling 6= CALCULATE([count_mov_cliente],DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-6,MONTH)) &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then create a measure like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;countx(values(Table[id_cliente]) , if (isblank([Rolling 6]) , [id_cliente], blank()) )&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 17:46:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Clientes-inativos/m-p/2375562#M61157</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-04T17:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Clientes inativos</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Clientes-inativos/m-p/2375563#M61158</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , first have 6 month rolling measure &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rolling 6= CALCULATE([count_mov_cliente],DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-6,MONTH)) &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then create a measure like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;countx(values(Table[id_cliente]) , if (isblank([Rolling 6]) , [id_cliente], blank()) )&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 17:46:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Clientes-inativos/m-p/2375563#M61158</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-04T17:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Clientes inativos</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Clientes-inativos/m-p/2376540#M61239</link>
      <description>&lt;P&gt;Obrigada por responder, mas&amp;nbsp; a minha tabela de calendario vai até 2030, o&amp;nbsp;&lt;SPAN&gt;MAX('Date'[Date ])&amp;nbsp; irá trazer o 2030 não?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fiz a seguinte adaptação mas não sei se está correcto:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rolling 6 = CALCULATE([Count_mov_cliente],DATESBETWEEN('d calendar'[DATA], TODAY()-30, TODAY())) &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;e no segundo dax, a minha tabela de moviemntos é uma factual, posso usar o distict count?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 19:39:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Clientes-inativos/m-p/2376540#M61239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-05T19:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Clientes inativos</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Clientes-inativos/m-p/2376555#M61242</link>
      <description>&lt;P&gt;fiz a seguinte adaptação :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Rolling 6 = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Count_mov_cliente]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;DATESBETWEEN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'d calendar'[DATA]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;TODAY&lt;/SPAN&gt;&lt;SPAN&gt;()-&lt;/SPAN&gt;&lt;SPAN&gt;30&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;TODAY&lt;/SPAN&gt;&lt;SPAN&gt;()))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Mar 2022 19:32:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Clientes-inativos/m-p/2376555#M61242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-05T19:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Clientes inativos</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Clientes-inativos/m-p/2382700#M61627</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Did the above suggestions help with your scenario? If that is the case, you can consider Kudo or accept the helpful suggestions to help others who faced similar requirements.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If they also don't help, please share some dummy data that keep raw data structure with expected results to help us clarify your scenario and test to coding formula.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 05:42:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Clientes-inativos/m-p/2382700#M61627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-09T05:42:40Z</dc:date>
    </item>
  </channel>
</rss>

