<?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: Counting rows with multiple categories per row. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4707767#M180300</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1281804" data-lia-user-login="Dsmiith" class="lia-mention lia-mention-user"&gt;Dsmiith&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To mark each row with a 1 if the corresponding Vattenförekomstens id has both the parameters "PTI" and "Totalbiomassa", you can use a calculated column in Power BI with the following DAX formula:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;HasPTIandBiomassa =
VAR CurrentID = 'YourTableName'[Vattenförekomstens id]
VAR HasPTI =
    CALCULATE (
        COUNTROWS ( 'YourTableName' ),
        'YourTableName'[Vattenförekomstens id] = CurrentID,
        'YourTableName'[Parameter] = "PTI"
    ) &amp;gt; 0
VAR HasBiomassa =
    CALCULATE (
        COUNTROWS ( 'YourTableName' ),
        'YourTableName'[Vattenförekomstens id] = CurrentID,
        'YourTableName'[Parameter] = "Totalbiomassa"
    ) &amp;gt; 0
RETURN
    IF ( HasPTI &amp;amp;&amp;amp; HasBiomassa, 1 )
&lt;/LI-CODE&gt;
&lt;P&gt;This formula checks each Vattenförekomstens id to see if both "PTI" and "Totalbiomassa" exist in the rows associated with that ID. If both are present, it returns 1 for all rows with that ID; otherwise, it returns blank. Replace 'YourTableName' with the actual name of your table in Power BI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
    <pubDate>Mon, 26 May 2025 14:31:54 GMT</pubDate>
    <dc:creator>DataNinja777</dc:creator>
    <dc:date>2025-05-26T14:31:54Z</dc:date>
    <item>
      <title>Counting rows with multiple categories per row.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4707261#M180282</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I have searched the forum and can't find the solution, so i am doing my first post here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data set with Identifications number in column A, and parameters in column B.&amp;nbsp;&lt;BR /&gt;I need to figure out per identification a combination of categorical data is used. Se picture.&lt;BR /&gt;&lt;BR /&gt;So what I would need is a new column which indicates&lt;BR /&gt;If the identification number has a combination of parameters.&lt;BR /&gt;&lt;BR /&gt;So if the parameters are equal to "PTI" or "Totalbiomassa" the column give me a 1, otherwise a blank.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is it understandable?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 10:39:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4707261#M180282</guid>
      <dc:creator>Dsmiith</dc:creator>
      <dc:date>2025-05-26T10:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Counting rows with multiple categories per row.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4707767#M180300</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1281804" data-lia-user-login="Dsmiith" class="lia-mention lia-mention-user"&gt;Dsmiith&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To mark each row with a 1 if the corresponding Vattenförekomstens id has both the parameters "PTI" and "Totalbiomassa", you can use a calculated column in Power BI with the following DAX formula:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;HasPTIandBiomassa =
VAR CurrentID = 'YourTableName'[Vattenförekomstens id]
VAR HasPTI =
    CALCULATE (
        COUNTROWS ( 'YourTableName' ),
        'YourTableName'[Vattenförekomstens id] = CurrentID,
        'YourTableName'[Parameter] = "PTI"
    ) &amp;gt; 0
VAR HasBiomassa =
    CALCULATE (
        COUNTROWS ( 'YourTableName' ),
        'YourTableName'[Vattenförekomstens id] = CurrentID,
        'YourTableName'[Parameter] = "Totalbiomassa"
    ) &amp;gt; 0
RETURN
    IF ( HasPTI &amp;amp;&amp;amp; HasBiomassa, 1 )
&lt;/LI-CODE&gt;
&lt;P&gt;This formula checks each Vattenförekomstens id to see if both "PTI" and "Totalbiomassa" exist in the rows associated with that ID. If both are present, it returns 1 for all rows with that ID; otherwise, it returns blank. Replace 'YourTableName' with the actual name of your table in Power BI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 14:31:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4707767#M180300</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2025-05-26T14:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Counting rows with multiple categories per row.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4708049#M180316</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1281804" target="_self"&gt;&lt;SPAN class=""&gt;Dsmiith,&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;You want to flag each row if that Identification number (ID) has &lt;EM&gt;both&lt;/EM&gt; “PTI” and “Totalbiomassa” among its parameters (not just the current row’s value, but if both exist &lt;EM&gt;somewhere&lt;/EM&gt; for that ID).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ComboFlag =&lt;BR /&gt;VAR ThisID = YourTable[ID]&lt;BR /&gt;VAR HasPTI =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(YourTable),&lt;BR /&gt;YourTable[ID] = ThisID,&lt;BR /&gt;YourTable[Parameter] = "PTI"&lt;BR /&gt;) &amp;gt; 0&lt;BR /&gt;VAR HasTotalbiomassa =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(YourTable),&lt;BR /&gt;YourTable[ID] = ThisID,&lt;BR /&gt;YourTable[Parameter] = "Totalbiomassa"&lt;BR /&gt;) &amp;gt; 0&lt;BR /&gt;RETURN&lt;BR /&gt;IF(HasPTI &amp;amp;&amp;amp; HasTotalbiomassa, 1, BLANK())&lt;BR /&gt;&lt;BR /&gt;This checks, for every row, if both “PTI” and “Totalbiomassa” exist for the same ID. If yes, it flags all those rows with 1, else leaves it blank.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;please check it and let me know if you have any questions.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If this reply helped solve your problem, please consider clicking "Accept as Solution" so others can benefit too.&amp;nbsp;And if you found it useful, a quick "Kudos" is always appreciated, thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maruthi&amp;nbsp;&lt;/P&gt;&lt;P&gt;LinkedIn -&amp;nbsp;&lt;A href="http://www.linkedin.com/in/maruthi-siva-prasad/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.linkedin.com/in/maruthi-siva-prasad/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&lt;A href="https://x.com/maruthisp" target="_blank" rel="nofollow noopener noreferrer"&gt;Maruthi Siva Prasad - (@MaruthiSP) / X&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 01:25:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4708049#M180316</guid>
      <dc:creator>maruthisp</dc:creator>
      <dc:date>2025-05-27T01:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Counting rows with multiple categories per row.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4708382#M180332</link>
      <description>&lt;P&gt;Unfortunately it did not really work, believe it is due to that the values in column parameters will always only have one value. So it can only be wither PTI or Totalbiomassa.&lt;BR /&gt;&lt;BR /&gt;But it could still have the same ID.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So the formula does not match in any row, all is empty. But if I instead of &amp;amp;&amp;amp; do ||. I get the correct results for the or.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Could you instead do a sumx?&lt;BR /&gt;&lt;BR /&gt;So the result would be:&lt;BR /&gt;1 if either PTI or Totalbiomassa&amp;nbsp;per ID&lt;BR /&gt;2 if both PTI and totalbiomassa per ID&lt;BR /&gt;0 if neither PTI and totalbiomassa per ID&lt;BR /&gt;&lt;BR /&gt;Many thanks for the response!!!&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 07:03:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4708382#M180332</guid>
      <dc:creator>Dsmiith</dc:creator>
      <dc:date>2025-05-27T07:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Counting rows with multiple categories per row.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4708439#M180334</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1281804" data-lia-user-login="Dsmiith" class="lia-mention lia-mention-user"&gt;Dsmiith&lt;/a&gt;&amp;nbsp;in case you prefer power query editor, there is a solution from there, let me know&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, 27 May 2025 07:20:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4708439#M180334</guid>
      <dc:creator>techies</dc:creator>
      <dc:date>2025-05-27T07:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Counting rows with multiple categories per row.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4708586#M180336</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1281804" data-lia-user-login="Dsmiith" class="lia-mention lia-mention-user"&gt;Dsmiith&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to us on the Microsoft Fabric Community Forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please check below calculated column "&lt;/SPAN&gt;&lt;SPAN&gt;PTI_Totalbiomassa_Flag"&amp;nbsp; to represent the flag values,&amp;nbsp;&lt;SPAN&gt;if the parameters are equal to "PTI" or "Totalbiomassa" the column gives 1, otherwise a blank.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp; Created sample data , please refer snap.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; Created Calculated column with below DAX .&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;PTI_Totalbiomassa_Flag =&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;CurrentID&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Vattenförekomstens id]&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;CurrentParameter&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Parameter]&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;HasPTI&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&l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;&lt;SPAN&gt;HasPTI&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;HasTotalbiomassa&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;CurrentParameter&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"PTI"&lt;/SPAN&gt;&lt;SPAN&gt; || &lt;/SPAN&gt;&lt;SPAN&gt;CurrentParameter&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Totalbiomassa"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;3. please refer output snaps and attached PBIX file.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If my response has resolved your query, please mark it as the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Accepted Solution"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to assist others. Additionally, a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;would be appreciated if you found my response helpful.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 May 2025 08:46:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4708586#M180336</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-05-27T08:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Counting rows with multiple categories per row.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4708854#M180341</link>
      <description>&lt;P&gt;Yes please!&lt;BR /&gt;Very much interested!&lt;BR /&gt;&lt;BR /&gt;Do tell!&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 11:09:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4708854#M180341</guid>
      <dc:creator>Dsmiith</dc:creator>
      <dc:date>2025-05-27T11:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Counting rows with multiple categories per row.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4709237#M180350</link>
      <description>&lt;P&gt;Hi, first group your data using ALLROWS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;then add custom column&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;paramList = List.Transform([Allrows][Parameter], each _)&lt;BR /&gt;in&lt;BR /&gt;if List.Contains(paramList, "PTI") and List.Contains(paramList, "Totalbiomassa") then 1 else null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then expand allrows column&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 16:28:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4709237#M180350</guid>
      <dc:creator>techies</dc:creator>
      <dc:date>2025-05-27T16:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Counting rows with multiple categories per row.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4713879#M180552</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1281804" data-lia-user-login="Dsmiith" class="lia-mention lia-mention-user"&gt;Dsmiith&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If my response has resolved your query, please mark it as the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Accepted Solution"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to assist others. Additionally, a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;would be appreciated if you found my response helpful.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 10:36:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4713879#M180552</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-05-30T10:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Counting rows with multiple categories per row.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4717241#M180679</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1281804" data-lia-user-login="Dsmiith" class="lia-mention lia-mention-user"&gt;Dsmiith&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 17:17:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4717241#M180679</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-06-02T17:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Counting rows with multiple categories per row.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4721915#M180853</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1281804" target="_blank"&gt;@Dsmiith&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 18:27:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-categories-per-row/m-p/4721915#M180853</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-06-05T18:27:14Z</dc:date>
    </item>
  </channel>
</rss>

