<?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: Reincidente in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reincidente/m-p/4037015#M160022</link>
    <description>&lt;P&gt;&lt;FONT&gt;Bom dia,&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;Carson Jian,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Não estou conseguindo anexo o arquivo pbix, só encontrei a opção de anexar o link.&lt;/P&gt;&lt;P&gt;Você pode me ajudar como anexar.&lt;/P&gt;&lt;P&gt;Atenciosamente,&lt;/P&gt;&lt;P&gt;Sérgio Nogueira&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 11:29:45 GMT</pubDate>
    <dc:creator>sns1996</dc:creator>
    <dc:date>2024-07-11T11:29:45Z</dc:date>
    <item>
      <title>Reincidente</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reincidente/m-p/4033119#M159638</link>
      <description>&lt;P&gt;Boa tarde,&lt;/P&gt;&lt;P&gt;Estou precisando de uma ajuda no cálculo abaixo:&lt;/P&gt;&lt;P&gt;Na base em anexo eu preciso calcular o total de reincidente, conforme regras abaixo:&lt;/P&gt;&lt;P&gt;1 - Calcular quantas vezes o cod assinatura se repetiu em, por exemplo, o&lt;/P&gt;&lt;P&gt;Cod Assinatura "24539774" repetiu 3 vez (janeiro, março e maio)&lt;/P&gt;&lt;P&gt;Cod Assinatura "25879994" repetiu 1 vez (maio)&lt;/P&gt;&lt;P&gt;Cod Assinatura "90988234" repetiu 1 vez (janeiro, fevereiro, março e abril)&lt;/P&gt;&lt;P&gt;2 – Se a quantidade de vezes que se repetiu foi maior ou igual a 3 é uma assinatura reincidente.&lt;/P&gt;&lt;P&gt;3 – Quantas assinaturas foram reincidentes, no exemplo acima o meu total é igual a 2.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 18:59:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reincidente/m-p/4033119#M159638</guid>
      <dc:creator>sns1996</dc:creator>
      <dc:date>2024-07-09T18:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reincidente</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reincidente/m-p/4033417#M159669</link>
      <description>&lt;P&gt;Hi,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="367564" data-lia-user-login="sns1996" class="lia-mention lia-mention-user"&gt;sns1996&lt;/a&gt; . I am glad to help you.&lt;BR /&gt;If you want to get the number of "YES" customers in your case, you can refer to my following test&lt;BR /&gt;Here is my test data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I created a couple of measures.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;M_No_complaints_month = 
CALCULATE(DISTINCTCOUNT('Table'[Month_Num]),FILTER(ALL('Table'),'Table'[Cod Assinatura]=MAX('Table'[Cod Assinatura])))&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;verification = IF([M_No_complaints_month]&amp;gt;=3,"Yes","No")&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;M_num_of_Yes = 
CALCULATE(
    DISTINCTCOUNT('Table'[Cod Assinatura]),FILTER(ALL('Table'),[M_No_complaints_month]&amp;gt;=3))&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Total Individual Complaints = 
CALCULATE(SUM('Table'[No of complaints]),FILTER(ALL('Table'),'Table'[Cod Assinatura]=MAX('Table'[Cod Assinatura])))
&lt;/LI-CODE&gt;
&lt;P&gt;Here is the result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Carson Jian,&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 01:59:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reincidente/m-p/4033417#M159669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-10T01:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reincidente</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reincidente/m-p/4035276#M159910</link>
      <description>&lt;P&gt;Oi, Carson Jian. Obrigado pelo retorno.&lt;/P&gt;&lt;P&gt;Utilizei as medidas que voce me enviou mais não esta dando certo.&lt;/P&gt;&lt;P&gt;Estou anexando o arquivo que estou trabalhando para verificar onde estou errando.&lt;/P&gt;&lt;P&gt;Desde já agradeço.&lt;/P&gt;&lt;P&gt;Atenciosamente&lt;BR /&gt;&lt;FONT&gt;Sérgio Nogueira&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="Reincidente" href="https://app.powerbi.com/reportEmbed?reportId=a16e90a3-f38f-46bf-8918-d131f36585c2&amp;amp;autoAuth=true&amp;amp;ctid=0b057354-0fc9-47e5-8674-8449dd7e88b8" target="_blank" rel="noopener"&gt;https://app.powerbi.com/reportEmbed?reportId=a16e90a3-f38f-46bf-8918-d131f36585c2&amp;amp;autoAuth=true&amp;amp;ctid=0b057354-0fc9-47e5-8674-8449dd7e88b8&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 17:23:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reincidente/m-p/4035276#M159910</guid>
      <dc:creator>sns1996</dc:creator>
      <dc:date>2024-07-10T17:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reincidente</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reincidente/m-p/4035909#M159939</link>
      <description>&lt;P&gt;Hi,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="367564" data-lia-user-login="sns1996" class="lia-mention lia-mention-user"&gt;sns1996&lt;/a&gt; .Thank you for your reply.&lt;/P&gt;
&lt;P&gt;This may be due to the fact that the data I tested and your actual data do not match, and the calculation environment is different so that the code I provided does not achieve the correct effect.&lt;BR /&gt;You need to re-edit the code according to the field requirements in your actual case and the relationship before the table.&lt;BR /&gt;In my test data, the Data Bancas are Data/Time type data, the rest of the data is numeric or text type, but actually this does not affect the overall calculation logic!&lt;/P&gt;
&lt;P&gt;Unfortunately, I can't access the workspace report you provided due to my work environment, can you provide the pbix file that doesn't contain sensitive data (with simple test data in between, such as the case scenario you presented before)&lt;BR /&gt;Below is a screenshot when I try to access the link you provided:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please modify the code I provided according to your actual computing environment, if you can provide the corresponding pbix file (without sensitive data) and some data screenshots, it will be very helpful in solving your problem.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;&lt;SPAN&gt;How to Get Your Question Answered Quickly - Microsoft Fabric Community&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.&lt;BR /&gt;Best Regards,&lt;BR /&gt;Carson Jian,&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 02:38:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reincidente/m-p/4035909#M159939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-11T02:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Reincidente</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reincidente/m-p/4037015#M160022</link>
      <description>&lt;P&gt;&lt;FONT&gt;Bom dia,&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;Carson Jian,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Não estou conseguindo anexo o arquivo pbix, só encontrei a opção de anexar o link.&lt;/P&gt;&lt;P&gt;Você pode me ajudar como anexar.&lt;/P&gt;&lt;P&gt;Atenciosamente,&lt;/P&gt;&lt;P&gt;Sérgio Nogueira&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 11:29:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reincidente/m-p/4037015#M160022</guid>
      <dc:creator>sns1996</dc:creator>
      <dc:date>2024-07-11T11:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reincidente</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reincidente/m-p/4038345#M160095</link>
      <description>&lt;P&gt;Hi,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="367564" data-lia-user-login="sns1996" class="lia-mention lia-mention-user"&gt;sns1996&lt;/a&gt; .Thank you for your reply&amp;nbsp;&lt;BR /&gt;You can share .pbix files to the forum by uploading them to OneDrive!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 02:16:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reincidente/m-p/4038345#M160095</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-12T02:16:11Z</dc:date>
    </item>
  </channel>
</rss>

