<?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: Problem with Counting rows in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4242820#M167974</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp; Thank, this works fine until I have 'call_no' in the view. If I would like to see how many 'call_no' with Rank = 1 I have per month, then I lost months from the Table in which I have several 'call_no'/'sr'.&lt;BR /&gt;Example with call_no in the view (I added additional 'call_no'/'sr' in October 2024)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Now, as you can see from the picture I have two 'call_no'/'sr' in October 2024&lt;BR /&gt;If I remove 'call_no'/'sr' from the table/view, I will lost October's data&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;So, in one month I can have several 'call_no' with Rank = 1 and if I want to SUM up to see total numbers of 'call_no'/'sr' per month I will lose those if I remove 'call_no'/'sr' from the Table/view.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2024 09:06:03 GMT</pubDate>
    <dc:creator>exe_binary</dc:creator>
    <dc:date>2024-10-15T09:06:03Z</dc:date>
    <item>
      <title>Problem with Counting rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235582#M167521</link>
      <description>&lt;P&gt;Hello foks,&lt;BR /&gt;I have a data like&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;call_no&lt;/TD&gt;&lt;TD&gt;part_no&lt;/TD&gt;&lt;TD&gt;date_lt&lt;/TD&gt;&lt;TD&gt;country&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1234567&lt;/TD&gt;&lt;TD&gt;aa123&lt;/TD&gt;&lt;TD&gt;5/15/2023&lt;/TD&gt;&lt;TD&gt;le&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1234567&lt;/TD&gt;&lt;TD&gt;bb456&lt;/TD&gt;&lt;TD&gt;5/21/2023&lt;/TD&gt;&lt;TD&gt;le&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1234567&lt;/TD&gt;&lt;TD&gt;cc789&lt;/TD&gt;&lt;TD&gt;5/26/2023&lt;/TD&gt;&lt;TD&gt;le&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;456789&lt;/TD&gt;&lt;TD&gt;qq987&lt;/TD&gt;&lt;TD&gt;4/12/2024&lt;/TD&gt;&lt;TD&gt;ks&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;456789&lt;/TD&gt;&lt;TD&gt;ww654&lt;/TD&gt;&lt;TD&gt;4/16/2024&lt;/TD&gt;&lt;TD&gt;ks&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;456789&lt;/TD&gt;&lt;TD&gt;xx258&lt;/TD&gt;&lt;TD&gt;5/5/2024&lt;/TD&gt;&lt;TD&gt;ks&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;987654&lt;/TD&gt;&lt;TD&gt;pp123123&lt;/TD&gt;&lt;TD&gt;7/7/2024&lt;/TD&gt;&lt;TD&gt;al&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;987654&lt;/TD&gt;&lt;TD&gt;oo999888&lt;/TD&gt;&lt;TD&gt;7/15/2024&lt;/TD&gt;&lt;TD&gt;al&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;885522&lt;/TD&gt;&lt;TD&gt;ff654321&lt;/TD&gt;&lt;TD&gt;8/25/2024&lt;/TD&gt;&lt;TD&gt;bg&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;885522&lt;/TD&gt;&lt;TD&gt;gg15915&lt;/TD&gt;&lt;TD&gt;9/15/2024&lt;/TD&gt;&lt;TD&gt;bg&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Now, I need two calculations:&lt;BR /&gt;1. Max Date based on call_no but when I filter some specific part_no then I need Max Date to be also on level call_no but for that specific part_no. In other words, e.g. if I select call_no = 1234567 my MaxDate should be =&amp;nbsp; 5/26/2023. But if I select part_no = aa123 and bb456 then my MaxDate needs to be = 5/21/2023.&lt;BR /&gt;2. Flag count calculation that will calculate my rows where 'date_lt' = MaxDate and DynamicLastRecordFlag = 1&lt;BR /&gt;Now, everything works fine in a Table viz, but in Matrix it doesn't work.&lt;BR /&gt;&lt;BR /&gt;From the picture below, for call_no = 456789 I need to show only May value since it is the MaxDate. Also stands for call_no = 885522 where I need only the value from Septemebr.&lt;BR /&gt;Can you assist to fix this? &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Link for the .pbix file&lt;BR /&gt;&lt;A href="https://1drv.ms/u/s!An2XoAi4rRBZgdRJip8xtNVdk8MW_w?e=suJvOK" target="_blank" rel="noopener"&gt;Flag Count.pbix&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 17:24:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235582#M167521</guid>
      <dc:creator>exe_binary</dc:creator>
      <dc:date>2024-10-09T17:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Counting rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235603#M167522</link>
      <description>&lt;PRE&gt;MaxDate =&lt;BR /&gt;VAR SelectedCallNo = SELECTEDVALUE('YourTable'[call_no]) &lt;BR /&gt;VAR SelectedPartNo = SELECTEDVALUE('YourTable'[part_no])&lt;BR /&gt;RETURN&lt;BR /&gt;CALCULATE(&lt;BR /&gt;MAX('YourTable'[date_lt]),&lt;BR /&gt;FILTER(&lt;BR /&gt;'YourTable',&lt;BR /&gt;(ISBLANK(SelectedPartNo) || 'YourTable'[part_no] = SelectedPartNo)&lt;BR /&gt;&amp;amp;&amp;amp; 'YourTable'[call_no] = IF(ISBLANK(SelectedCallNo), 'YourTable'[call_no], SelectedCallNo)&lt;BR /&gt;)&lt;BR /&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FlagCount =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('YourTable'),&lt;BR /&gt;'YourTable'[date_lt] = [MaxDate],&lt;BR /&gt;'YourTable'[DynamicLastRecordFlag] = 1&lt;BR /&gt;)&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT color="#0000FF"&gt;If this helped, a Kudos &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; or Solution mark would be great!&lt;span class="lia-unicode-emoji" title=":party_popper:"&gt;🎉&lt;/span&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Kedar Pande&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/kedar-pande" target="_blank"&gt;Connect on LinkedIn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 17:51:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235603#M167522</guid>
      <dc:creator>Kedar_Pande</dc:creator>
      <dc:date>2024-10-09T17:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Counting rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235615#M167526</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568855" data-lia-user-login="Kedar_Pande" class="lia-mention lia-mention-user"&gt;Kedar_Pande&lt;/a&gt;for 'FlagCount' it returns me an error: A function 'PLACEHOLDER' has been used in a True/False expression that is used as a table filter expression. This is not allowed.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 18:01:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235615#M167526</guid>
      <dc:creator>exe_binary</dc:creator>
      <dc:date>2024-10-09T18:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Counting rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235621#M167528</link>
      <description>&lt;PRE&gt;Modified:&lt;BR /&gt;FlagCount =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('YourTable'),&lt;BR /&gt;FILTER(&lt;BR /&gt;'YourTable',&lt;BR /&gt;'YourTable'[date_lt] = [MaxDate] &amp;amp;&amp;amp;&lt;BR /&gt;'YourTable'[DynamicLastRecordFlag] = 1&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Oct 2024 18:06:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235621#M167528</guid>
      <dc:creator>Kedar_Pande</dc:creator>
      <dc:date>2024-10-09T18:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Counting rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235633#M167529</link>
      <description>&lt;P&gt;Still the same problem, but your FlagCount doesn't work well neither in Table not Matrix.&lt;BR /&gt;If you can see from the image below&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;'DynamicLastRecord' works fine in a Table and I need to figure out how to distinct count it and add that measure in Matrix, so for call_no = 456789 is should return just 1 in May. I do not need SUM. Not sure if you understand me.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 18:18:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235633#M167529</guid>
      <dc:creator>exe_binary</dc:creator>
      <dc:date>2024-10-09T18:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Counting rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235766#M167537</link>
      <description>&lt;P&gt;&lt;EM&gt;"From the picture below, for call_no = 456789 I need to show &lt;STRONG&gt;only May&lt;/STRONG&gt; value since it is the MaxDate. Also stands for call_no = 885522 where I need &lt;STRONG&gt;only the value from Septemebr&lt;/STRONG&gt;."&lt;BR /&gt;&lt;/EM&gt;&lt;BR /&gt;Based on the above description is this what you are looking for ?&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;Create a calculated column for Ranking the rows&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Rank_Column = RANKX (
    FILTER (
        Sheet1,
       'Sheet1'[call_no] = EARLIER (Sheet1[call_no] )
    ),
    Sheet1[date_lt].[Date],
    , 
    Desc,Dense
)&lt;/LI-CODE&gt;&lt;P&gt;And then create this measure&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Max_Value = CALCULATE(COUNTROWS(VALUES(Sheet1[call_no])),Sheet1[Rank_Column]=1)&lt;/LI-CODE&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 20:55:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235766#M167537</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-10-09T20:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Counting rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235806#M167541</link>
      <description>&lt;P&gt;What's happend with call_no = 1234567 since it is not in the table now?&lt;BR /&gt;Next, when I try to create RANK based on your instruction I got an error: EARLIER/EARLIEST refers to an earlier row context which doesn't exist.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 21:40:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235806#M167541</guid>
      <dc:creator>exe_binary</dc:creator>
      <dc:date>2024-10-09T21:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Counting rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235822#M167543</link>
      <description>&lt;P&gt;1234567 is in year 2023 and my screenshot was of the data for 2024.&lt;BR /&gt;&lt;BR /&gt;Here is the screenshot for both the years.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;It is RANKX and not RANK. Create a calculated column and not a measure.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 22:12:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4235822#M167543</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-10-09T22:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Counting rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4236223#M167567</link>
      <description>&lt;P&gt;Hi ALL,&lt;BR /&gt;Firstly&amp;nbsp;SachinNandanwar&amp;nbsp; and&amp;nbsp;Kedar_Pande&amp;nbsp; thank you for your solutions!&lt;BR /&gt;And&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="777379" data-lia-user-login="exe_binary" class="lia-mention lia-mention-user"&gt;exe_binary&lt;/a&gt;&amp;nbsp;,We can change the way to achieve your needs, your original DAX statement can be affected by the context of the columns in the matrix, he will determine the maximum value of each month and return, the following is the use of a measure of a way to achieve Hope you can help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Max_Value_Measure = 
CALCULATE (
    COUNTROWS(Sheet1),  
    FILTER (
        Sheet1,
        Sheet1[date_lt] = CALCULATE (
            MAX(Sheet1[date_lt]),  
            ALLEXCEPT(Sheet1, Sheet1[call_no]) 
        )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Community Support Team_ Tom Shen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;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;</description>
      <pubDate>Thu, 10 Oct 2024 05:26:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4236223#M167567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-10T05:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Counting rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4236566#M167579</link>
      <description>&lt;P&gt;It works fine until I filter some specific part_no and here is the catch. If I filter some part_no, like in the picture below, call_no(SR) = 1234567 and part_no = aa123, bb123 - then my Max Date needs to be 7/4/2023 and Max_Value needs to be 1 here.&amp;nbsp;&lt;BR /&gt;In other words this Rank should be dynamic and to change based on applied filters.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is how the result should look for the example above&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SR&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Part No&lt;/TD&gt;&lt;TD&gt;Country&lt;/TD&gt;&lt;TD&gt;Max Date&lt;/TD&gt;&lt;TD&gt;Max Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1234567&lt;/TD&gt;&lt;TD&gt;7/1/2023&lt;/TD&gt;&lt;TD&gt;aa123&lt;/TD&gt;&lt;TD&gt;US&lt;/TD&gt;&lt;TD&gt;7/4/2023&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1234567&lt;/TD&gt;&lt;TD&gt;7/4/2023&lt;/TD&gt;&lt;TD&gt;bb123&lt;/TD&gt;&lt;TD&gt;US&lt;/TD&gt;&lt;TD&gt;7/4/2023&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 10 Oct 2024 08:21:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4236566#M167579</guid>
      <dc:creator>exe_binary</dc:creator>
      <dc:date>2024-10-10T08:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Counting rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4242127#M167943</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="777379" data-lia-user-login="exe_binary" class="lia-mention lia-mention-user"&gt;exe_binary&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I'm glad to tell you that your original code is able to fulfill your needs, but it's only the context filtering that requires you to adjust the DAX. The allselected you used is for part_no, but in the matrix, the only row you selected is call_no, and it's subjected to the context filtering of date_it, which is what causes the problem to occur in both September and August when you filter. The problem occurs in both September and August, here's what we've tried, hope this helps!&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Distinct Count of call_no = 
IF (
[DynamicLastRecordFlag] = 1,
    CALCULATE(
        DISTINCTCOUNT(Sheet1[call_no]),
        REMOVEFILTERS('Sheet1'[date_lt]),FILTER('Sheet1','Sheet1'[DynamicLastRecordFlag]=1)),
   BLANK()
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps!&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Community Support Team_ Tom Shen&lt;/P&gt;
&lt;P&gt;If this post helps then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 01:24:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4242127#M167943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-15T01:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Counting rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4242820#M167974</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp; Thank, this works fine until I have 'call_no' in the view. If I would like to see how many 'call_no' with Rank = 1 I have per month, then I lost months from the Table in which I have several 'call_no'/'sr'.&lt;BR /&gt;Example with call_no in the view (I added additional 'call_no'/'sr' in October 2024)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Now, as you can see from the picture I have two 'call_no'/'sr' in October 2024&lt;BR /&gt;If I remove 'call_no'/'sr' from the table/view, I will lost October's data&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;So, in one month I can have several 'call_no' with Rank = 1 and if I want to SUM up to see total numbers of 'call_no'/'sr' per month I will lose those if I remove 'call_no'/'sr' from the Table/view.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 09:06:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Counting-rows/m-p/4242820#M167974</guid>
      <dc:creator>exe_binary</dc:creator>
      <dc:date>2024-10-15T09:06:03Z</dc:date>
    </item>
  </channel>
</rss>

