Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Count Row in report

Hi, 

 

I have a report where I want to count the number of row I display in my table. I am using COUNT but I happend to have a gap between the data the table display and the data in my dataset. 

 

For exemple There is one particular value that I filter, it match with 12 row in the dataset but the table only show me 2 of this row (because there is no difference between those row)

 

So the count say 12 row, So my question is : Is there any way to count the number of row displayed ?

 

Thanks in advance 

  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi Anonymous ,

     

     

    Try something like 

     

    CountRows =
    COUNTROWS (
        SUMMARIZE (
            ALLSELECTED ( 'Table' ),
            Table[Column Name1],
             Table[Column Name2], 
        )
    )

     

     

    Difficult to comment until you share sample data or what you are trying to acheive.

     

    Regards,

    Harsh Nathani

    Appreciate with a Kudos!! (Click the Thumbs Up Button)


    Did I answer your question? Mark my post as a solution!

     

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

     

    Try something like 

     

    CountRows =
    COUNTROWS (
        SUMMARIZE (
            ALLSELECTED ( 'Table' ),
            Table[Column Name1],
             Table[Column Name2], 
        )
    )

     

     

    Difficult to comment until you share sample data or what you are trying to acheive.

     

    Regards,

    Harsh Nathani

    Appreciate with a Kudos!! (Click the Thumbs Up Button)


    Did I answer your question? Mark my post as a solution!