<?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 Calc countif in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933629#M96576</link>
    <description>&lt;P&gt;What's the error?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Nov 2022 17:35:25 GMT</pubDate>
    <dc:creator>ERD</dc:creator>
    <dc:date>2022-11-28T17:35:25Z</dc:date>
    <item>
      <title>Dax Calc countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933524#M96570</link>
      <description>&lt;P&gt;I need help figuring out how to write this formula in dax.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;COUNT IF [F RETAIL FH FIRST/FURTHER] = "FIRST" OR "FURTHER"&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 16:25:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933524#M96570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-28T16:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Calc countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933573#M96573</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can try the measure below:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;your_measure =
IF (
    'F RETAIL FH FIRST'[FURTHER] IN { "FIRST", "FURTHER" },
    COUNT ( 'F RETAIL FH FIRST'[FURTHER] )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 28 Nov 2022 16:58:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933573#M96573</guid>
      <dc:creator>ERD</dc:creator>
      <dc:date>2022-11-28T16:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Calc countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933625#M96575</link>
      <description>&lt;P&gt;Thanks for the answer, but that syntax does not work.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 17:33:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933625#M96575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-28T17:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Calc countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933629#M96576</link>
      <description>&lt;P&gt;What's the error?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 17:35:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933629#M96576</guid>
      <dc:creator>ERD</dc:creator>
      <dc:date>2022-11-28T17:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Calc countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933704#M96584</link>
      <description>&lt;P&gt;I dont think and if will work for dax.&amp;nbsp; I am just looking to COUNT [F RETAIL FH FIRST/FURTHER] when its&amp;nbsp; = to "FIRST" OR "FURTHER"&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 18:41:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933704#M96584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-28T18:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Calc countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933833#M96597</link>
      <description>&lt;P&gt;Ok, here is another option:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;your_measure =
CALCULATE (
    COUNT ( 'F RETAIL FH FIRST'[FURTHER] ),
    'F RETAIL FH FIRST'[FURTHER] IN { "FIRST", "FURTHER" }
)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 28 Nov 2022 19:59:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933833#M96597</guid>
      <dc:creator>ERD</dc:creator>
      <dc:date>2022-11-28T19:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Calc countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933892#M96602</link>
      <description>&lt;P&gt;Thats not getting me the answer I need.&amp;nbsp; below is the calc I am trying to convert from qlik to pbi.&amp;nbsp; The RTL_First_further is text if that helps.&lt;/P&gt;&lt;P&gt;sum(if(RTL_FIRST_FURTHER = 'FIRST',1,&lt;BR /&gt;if(RTL_FIRST_FURTHER = 'FURTHER' ,1,null())))&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 20:46:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2933892#M96602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-28T20:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Calc countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2935054#M96665</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the logic you are trying to convey?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My idea: This is your filtering criteria&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;F RETAIL FH FIRST[FURTHER]&amp;nbsp;= "FIRST" or "FURTHER".&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When this condition is met, you need to count or sum some data? Is this what you have in mind?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Community Support Team&amp;nbsp;&lt;STRONG&gt;Selina&amp;nbsp;zhu&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 08:38:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2935054#M96665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-29T08:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Calc countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2936260#M96794</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes that is exactly what I have in mind.&amp;nbsp; I just need the sum of&amp;nbsp;F RETAIL FH FIRST[FURTHER] after the condition is met, but I have diffucutlties because it is text.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 15:10:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2936260#M96794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-29T15:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Calc countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2938303#M96945</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Text is not computable for aggregation, I think you need to convert the data type first.&lt;/P&gt;
&lt;P&gt;Through here to change the data type:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;and then you can do some calculation.&lt;/P&gt;
&lt;P&gt;Refer to my pbix file for better understanding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Community Support Team&amp;nbsp;&lt;STRONG&gt;Selina&amp;nbsp;zhu&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 09:28:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Calc-countif/m-p/2938303#M96945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-30T09:28:42Z</dc:date>
    </item>
  </channel>
</rss>

