<?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: Calculate PlaceHolder error in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-PlaceHolder-error/m-p/2922351#M95862</link>
    <description>&lt;P&gt;Anyone that can help me? I still couldnt figured it out&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2022 17:27:06 GMT</pubDate>
    <dc:creator>feralvarez994</dc:creator>
    <dc:date>2022-11-22T17:27:06Z</dc:date>
    <item>
      <title>Calculate PlaceHolder error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-PlaceHolder-error/m-p/2910587#M95107</link>
      <description>&lt;P&gt;Hi everyone! Im struggling with this Dax measure. I want to count the distinct sucursal that reach certain value, i have made a table that got the right measures but when i try to count the sucursals that meet certain condition it appears an error that tells me that i have used a placeholder function in a true/false condition.&lt;/P&gt;&lt;P&gt;I want to count the quantity of sucursals that have the ObjT C/CSI &amp;gt; BENEF BRUTO TALLER, or the ones that have the %OBJT C/CSI &amp;gt;0, the thing is that the sucursals are no related to those functions, i have just made some dax with selectedvalue but theres no relationship in there. I have tried to count them with this formula but it doesnt work&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Contar Sucursales Alcanzan CSI = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-- CALCULAR LA CANTIDAD DE SUCURSALES QUE ALCANZAN EL CSI&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TALLER&lt;/SPAN&gt;&lt;SPAN&gt;[SUCURSAL]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;[%ObjT C/CSI]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im &lt;A href="https://drive.google.com/file/d/1x89zJGfjQzC_pLtwEgVPaZ_sP5EZnxOp/view?usp=sharing" target="_self"&gt;attaching the PBI FILE&lt;/A&gt;, this table is in the sheet COLABORADORES&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks everyone!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 20:32:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-PlaceHolder-error/m-p/2910587#M95107</guid>
      <dc:creator>feralvarez994</dc:creator>
      <dc:date>2022-11-16T20:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate PlaceHolder error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-PlaceHolder-error/m-p/2912005#M95178</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="334373" data-lia-user-login="feralvarez994" class="lia-mention lia-mention-user"&gt;feralvarez994&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try this code.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Contar Sucursales Alcanzan CSI = 
-- CALCULAR LA CANTIDAD DE SUCURSALES QUE ALCANZAN EL CSI
CALCULATE
    (DISTINCTCOUNT(TALLER[SUCURSAL]),
       FILTER(TALLER, [%ObjT C/CSI] &amp;gt; 0))&lt;/LI-CODE&gt;
&lt;P&gt;Result is as below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 09:01:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-PlaceHolder-error/m-p/2912005#M95178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-17T09:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate PlaceHolder error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-PlaceHolder-error/m-p/2912657#M95208</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;, i have tried that also but the thing is that there are only 3 TALLERS with %OBJT C/CSI &amp;gt; 0 instead of 6, i dont know which filter is not having in context&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 12:48:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-PlaceHolder-error/m-p/2912657#M95208</guid>
      <dc:creator>feralvarez994</dc:creator>
      <dc:date>2022-11-17T12:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate PlaceHolder error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-PlaceHolder-error/m-p/2922351#M95862</link>
      <description>&lt;P&gt;Anyone that can help me? I still couldnt figured it out&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 17:27:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-PlaceHolder-error/m-p/2922351#M95862</guid>
      <dc:creator>feralvarez994</dc:creator>
      <dc:date>2022-11-22T17:27:06Z</dc:date>
    </item>
  </channel>
</rss>

